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

Dynamic Dataset.groupby causes wrong sorting #2641

Closed
philippjfr opened this Issue May 1, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@philippjfr
Member

philippjfr commented May 1, 2018

When using groupby on a Dataset with dynamic=True it queries the data for the unique values along the grouped dimension and then sets Dimension.values. If these values are unsorted the widgets will not behave correctly in two separate ways: 1) It will initialize on the wrong frame and 2) when updating it will do so on the unsorted keys, resulting in the wrong frame being displayed.

@philippjfr philippjfr added this to the v1.10.3 milestone May 1, 2018

@jlstevens

This comment has been minimized.

Member

jlstevens commented May 1, 2018

Is this just a matter of sorting things at the widget level?

@philippjfr

This comment has been minimized.

Member

philippjfr commented May 1, 2018

Is this just a matter of sorting things at the widget level?

That's a partial fix (i.e. for issue 2 above), but it still initializes on the wrong frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment