-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Open
Labels
Error ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasReduction Operationssum, mean, min, max, etc.sum, mean, min, max, etc.good first issue
Description
Pandas version checks
-
I have checked that this issue has not already been reported.
-
I have confirmed this bug exists on the latest version of pandas.
-
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
df = pd.DataFrame({"x": [1], "y": [4]})
df.sum(numeric_only=None)
Issue Description
In 2.0 we changed the default to False, so no need to allow anything else except True/False.
Expected Behavior
We should raise an error
cc @rhshadrach thoughts?
Installed Versions
Replace this line with the output of pd.show_versions()
Metadata
Metadata
Assignees
Labels
Error ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasReduction Operationssum, mean, min, max, etc.sum, mean, min, max, etc.good first issue