-
-
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
DataFrameGroupBy.cumcount() returing Series instead of DataFrame #5608
Comments
I disagree, cumcount is not "looking" at the columns.
|
Ah, yes. Indeed, that way it is logical! |
Thanks for reporting anyway, made me noticed some low-hanging fruit here #5614 (I think cumsum etc.? is a bit wrong) |
Yes indeed, I wanted to bring that up also, but saw that you already did it :-) |
@hayd
DataFrameGroupBy.cumcount()
returns a Series while most others (the ones I tested, like count, cumsum, first, sum ) return a DataFrame. They are maybe not all comparable, but at least withcumsum
it could be I think:The text was updated successfully, but these errors were encountered: