Skip to content

Commit f65cb52

Browse files
committed
Avoid a copy.
1 parent 5e0b793 commit f65cb52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flox/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ def _factorize_multiple(by, expected_groups, by_is_dask, reindex):
13271327
**kwargs,
13281328
)
13291329
found_groups = tuple(
1330-
None if is_duck_dask_array(b) else pd.unique(np.array(b).reshape(-1)) for b in by
1330+
None if is_duck_dask_array(b) else pd.unique(b.reshape(-1)) for b in by
13311331
)
13321332
grp_shape = tuple(len(e) for e in expected_groups)
13331333
else:

0 commit comments

Comments
 (0)