We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e82b66 commit b77305cCopy full SHA for b77305c
flox/core.py
@@ -1730,7 +1730,7 @@ def dask_groupby_agg(
1730
group_chunks = ((np.nan,),)
1731
else:
1732
assert expected_groups is not None
1733
- groups = (expected_groups.to_numpy(),)
+ groups = (expected_groups,)
1734
group_chunks = ((len(expected_groups),),)
1735
1736
elif method == "cohorts":
@@ -1964,7 +1964,7 @@ def _groupby_aggregate(a, **kwargs):
1964
num_groups=num_groups,
1965
)
1966
1967
1968
1969
return (result, groups)
1970
0 commit comments