-
-
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
Groupby.cumsum()'s skipna option does not work #19806
Comments
pls show_versions() - you are pointing to very old docs |
I'm using pandas 0.22.0 build py36h0a44026_0 |
yeah we are being a little strict on this and immeditately rejecting this to prevent users from doing cc @gfyoung |
If no one else is working on this, I'll take a stab at a PR |
Go for it! |
Code Sample, a copy-pastable example if possible
Problem description
DataFrame.cumsum(skipna=False) works.
But DataFrame.groupby['var'].cumsum(skipna=False) does not work.
as seen from the above codes. Error message says numpy operations are not valid with groupby. This is inconsistent behavior, and is in conflict with docs http://pandas.pydata.org/pandas-docs/version/0.17.0/generated/pandas.core.groupby.DataFrameGroupBy.cumsum.html
The text was updated successfully, but these errors were encountered: