Skip to content

[BUG] Fixed behavior of DataFrameGroupBy.apply to respect _group_selection_context #28554

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

Closed
wants to merge 3 commits into from
Closed

[BUG] Fixed behavior of DataFrameGroupBy.apply to respect _group_selection_context #28554

wants to merge 3 commits into from

Conversation

christopherzimmerman
Copy link
Contributor

@christopherzimmerman christopherzimmerman commented Sep 20, 2019

There were lots of inconsistencies among tests about whether or not apply should return the grouper column(s), and almost no testing on the impact of as_index on apply operations. This hopefully should provide better coverage, and also normalize the behavior everywhere.

@christopherzimmerman christopherzimmerman changed the title [BUG] Fixed behavior of DataFrameGroupBy.apply to correctly follow as_index [BUG] Fixed behavior of DataFrameGroupBy.apply to respect _group_selection_context Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Many groupby tests depend on a bug in DataFrameGroupBy.apply
1 participant