Skip to content

Fix .groupby(multi index level) - #7830

Merged
dcherian merged 5 commits into
pydata:mainfrom
dcherian:fix-groupby-midx-level
Jun 6, 2023
Merged

dcherian merged 5 commits into
pydata:mainfrom
dcherian:fix-groupby-midx-level

Conversation

@dcherian

@dcherian dcherian commented May 8, 2023 •

Copy link
Copy Markdown
Contributor

@dcherian
dcherian requested a review from benbovy May 8, 2023 23:16

@Illviljan Illviljan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you have to add a dummy .to_index to _DummyGroup as well.

Comment thread xarray/tests/test_groupby.py Resolved
@dcherian dcherian added the plan to merge Final call for comments label Jun 2, 2023
@dcherian
dcherian merged commit c668582 into pydata:main Jun 6, 2023
@dcherian
dcherian deleted the fix-groupby-midx-level branch June 6, 2023 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plan to merge Final call for comments topic-groupby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

groupby(multi-index level) not working correctly on a multi-indexed DataArray or DataSet

2 participants