-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: groupby().apply(f) accepts combine=0 arg, to return results unmolested #3241 #3242
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
Conversation
doesn't
|
sorry....you mean the |
No, that's a good comment, I wasn't aware of that arg which has a different meaning. |
NTMK, maybe rename your to |
sold. |
this looks good....maybe add to whatsnew/docs? (as its an interesting case) |
will do, but in 0.12. I'm not putting in anything new at this point in the release cycle. |
Now that I think of it, would be partly mitigated by a |
yep.... |
@y-p forgot you did this....hmm....let's resurrect in 0.14..... |
@@ -307,6 +307,9 @@ def apply(self, func, *args, **kwargs): | |||
Parameters | |||
---------- | |||
func : function | |||
combine : (default: True), You may pass in a combine=True argument to get back |
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.
should be combine=False
like #5655 I'm hesitatnt because this jumps through hoops to compensate for a fundamentally problematic Still, I think this is solid and i'm for brushing off the dust and merging in 0.14. |
#3241
Right now:
With this PR: