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

Handle bug in gridded groupby when dropping dimensions #1219

Merged
merged 1 commit into from
Mar 21, 2017

Conversation

philippjfr
Copy link
Member

In certain scenarios dropping dimensions in a gridded groupby would not behave correctly. This fixes the bug and adds some tests.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: component: data labels Mar 20, 2017
@philippjfr
Copy link
Member Author

Ready.

@@ -117,7 +117,8 @@ def init(cls, eltype, data, kdims, vdims):

@classmethod
def validate(cls, dataset):
pass
if len(dataset.vdims) > 1:
Copy link
Contributor

Choose a reason for hiding this comment

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

Always good to have some extra validation!

@jlstevens
Copy link
Contributor

Looks good and extra tests are always worthwhile. Merging.

@jlstevens jlstevens merged commit 2961d7d into master Mar 21, 2017
@philippjfr philippjfr deleted the xarr_groupby_drop branch April 11, 2017 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: component: data type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants