-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Open
Labels
Missing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolateReduction Operationssum, mean, min, max, etc.sum, mean, min, max, etc.RefactorInternal refactoring of codeInternal refactoring of code
Description
In
Line 110 in e1d5a27
if values.size == 0 and kwds.get('min_count') is None: |
It'd be better to remove that block and just have each of the nan*
methods correctly handle empty arrays on their own.
Metadata
Metadata
Assignees
Labels
Missing-datanp.nan, pd.NaT, pd.NA, dropna, isnull, interpolatenp.nan, pd.NaT, pd.NA, dropna, isnull, interpolateReduction Operationssum, mean, min, max, etc.sum, mean, min, max, etc.RefactorInternal refactoring of codeInternal refactoring of code