Skip to content

Commit b47d3c8

Browse files
committed
WIP: Rebased after #7560
1 parent c1e81a4 commit b47d3c8

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

pandas/core/groupby.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2581,20 +2581,6 @@ def _cython_agg_blocks(self, how, numeric_only=True):
25812581
for block in data.blocks:
25822582
values = block._try_operate(block.values)
25832583

2584-
if is_numeric_dtype(values.dtype):
2585-
values = com.ensure_float(values)
2586-
is_numeric = True
2587-
else:
2588-
is_numeric = issubclass(values.dtype.type, (np.datetime64,
2589-
np.timedelta64))
2590-
if is_numeric:
2591-
values = values.view('int64')
2592-
else:
2593-
values = values.astype(object)
2594-
2595-
if numeric_only and not is_numeric:
2596-
continue
2597-
25982584
# TODO DAN
25992585
if block.is_numeric:
26002586
values = _algos.ensure_float64(values)

0 commit comments

Comments
 (0)