-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
ENH: Support skipna parameter in GroupBy min, max, prod, median, var, std and sem methods #60752
base: main
Are you sure you want to change the base?
Conversation
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.
Looks pretty good. One question
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.
A few smaller comments. @rhshadrach mind taking a look as well?
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.
Looks great! Can you add a test (adding to your current parametrizations would be fine) where the entire group is NA.
Thanks for the review @rhshadrach. Added the all-NA tests and responded to comments. |
Failure on the future infer string is unrelated (and is fixed by #60796). Rerunning Ubuntu 310 just to be sure. |
doc/source/whatsnew/v3.0.0.rst
file if fixing a bug or adding a new feature.Second (and final) batch of GroupBy reductions being enhanced to support the
skipna
parameter.