We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b79f6e commit 5cd7bcbCopy full SHA for 5cd7bcb
flox/core.py
@@ -1350,7 +1350,10 @@ def dask_groupby_agg(
1350
aggregate=partial(aggregate, expected_groups=index, reindex=True),
1351
)
1352
1353
- groups_.append(cohort)
+ # This is done because pandas promotes to 64-bit types when an Index is created
1354
+ # So we use the index to generate the return value for consistency with "map-reduce"
1355
+ # This is important on windows
1356
+ groups_.append(index.values)
1357
1358
reduced = dask.array.concatenate(reduced_, axis=-1)
1359
groups = (np.concatenate(groups_),)
0 commit comments