Skip to content
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

BUG: Groupby head/tail with axis=1 fails #37777

Closed
wants to merge 1 commit into from

Conversation

rhshadrach
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

This potentially closes #9772. The other issue there involves the perhaps unexpected fact that using axis=1 with groupby(...).apply does not transpose the groups that the function is going to be applied to. I've expressed my thoughts on why we should not do so in #9772 (comment).

@rhshadrach rhshadrach closed this Nov 12, 2020
@rhshadrach rhshadrach deleted the axis_1_head branch November 12, 2020 00:51
@rhshadrach rhshadrach restored the axis_1_head branch November 12, 2020 00:51
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.

Groupby built by columns : cannot use .head() or .apply()
1 participant