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

Added support for dynamic groupby on all data interfaces #711

Merged
merged 4 commits into from Jul 14, 2016
Merged
Diff settings

Always

Just for now

Prev

Fix for dynamic Dataset.groupby

  • Loading branch information...
Philipp Rudiger Philipp Rudiger
Philipp Rudiger authored and Philipp Rudiger committed Jun 6, 2016
commit 733d329a9dc49813e18ffbed416c53a32b8d4241
@@ -399,7 +399,7 @@ def load_subset(*args):
if np.isscalar(group):
return group_type(([group],), group=self.group,
label=self.label, vdims=self.vdims)
return group_type(group).reindex(group_dims)
return group_type(group.reindex(group_dims))
dynamic_dims = [d(values=list(self.interface.values(self, d.name, False)))
for d in dimensions]
return DynamicMap(load_subset, kdims=dynamic_dims)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.