You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so .sum(..) is correct, in the the underlying operation raises a TypeError, which is then caught and numeric_only=True is passed so you end up with .sum() of an empty frame and get 0.0.
The other 2 are not being masked correctly inside nanops._maybe_null_out which needs to handle M8,m8 dtypes (rather than converting to float).
Code Sample, a copy-pastable example if possible
Expected Output
All results above return a
float64
series instead of adatetime64[ns]
series.output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: