-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEPR: support axis=None in DataFrame reductions #52042
Conversation
Will users also see this message when doing |
Looks like this does produce the warning for |
Hmm looks like the warning also shows up for the built-in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM. There are some tests failing, but I guess that's fixable
|
updated+green |
Thanks @jbrockmendel |
* DEPR: support axis=None in DataFrame reductions * test, whatsnew * catch in apply(sum) * Fix defaults * catch warnings * dont check stacklevel * mypy fixup * catch warning
* DEPR: support axis=None in DataFrame reductions * test, whatsnew * catch in apply(sum) * Fix defaults * catch warnings * dont check stacklevel * mypy fixup * catch warning
* DEPR: support axis=None in DataFrame reductions * test, whatsnew * catch in apply(sum) * Fix defaults * catch warnings * dont check stacklevel * mypy fixup * catch warning
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.Haven't yet added tests or docs, want to see if anyone cares about the warnings we get in the groupby tests when we do e.g.
gb.apply(np.sum)