Skip to content

Commit 91bb3c3

Browse files
committed
WIP: 32bit fix
1 parent 262ca97 commit 91bb3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/extension/base/reduce.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def check_reduce_groupby(self, ser: pd.Series, op_name: str, skipna: bool):
9292
)
9393
else:
9494
expected = grp.apply(
95-
lambda x: getattr(x, op_name)(skipna=skipna), include_groups=False
95+
lambda x: getattr(x.astype(ser.dtype), op_name)(skipna=skipna), include_groups=False
9696
)
9797

9898
tm.assert_almost_equal(result, expected, check_dtype=False, atol=1e-6)

0 commit comments

Comments
 (0)