[Pandas-dev] API: numeric_only in Series ops behavior

Richard Shadrach rhshadrach at gmail.com
Fri Jun 24 16:04:51 EDT 2022


https://github.com/pandas-dev/pandas/issues/47500

Details are in the issue above. Almost all Series ops will raise when
passed `numeric_only=True`, regardless of their dtype. However
SeriesGroupBy ops will only raise when passed `numeric_only=True` if they
have a non-numeric dtype.

I'm looking for feedback on which of these (or alternative) behaviors is
preferable.

Best,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pandas-dev/attachments/20220624/2c9d9637/attachment.html>


More information about the Pandas-dev mailing list