CLN: Refactor nanops' empty array handling #18976
Labels
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Reduction Operations
sum, mean, min, max, etc.
Refactor
Internal refactoring of code
In
pandas/pandas/core/nanops.py
Line 110 in e1d5a27
It'd be better to remove that block and just have each of the
nan*
methods correctly handle empty arrays on their own.The text was updated successfully, but these errors were encountered: