Skip to content

Commit 3b79f6e

Browse files
committed
revert
1 parent 5db76c8 commit 3b79f6e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

flox/core.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,8 +1806,4 @@ def groupby_reduce(
18061806
if _is_minmax_reduction(func) and is_bool_array:
18071807
result = result.astype(bool)
18081808

1809-
# we lose dtype information when creating a pandas Index
1810-
# That's always int64 or float64, so cast back
1811-
# TODO: migrate to NumericIndex but I think this will just fix itself
1812-
groups = tuple(g.astype(b.dtype) for g, b in zip(groups, bys))
18131809
return (result, *groups)

0 commit comments

Comments
 (0)