Skip to content

Commit 293dc6e

Browse files
committed
Revert unrelated
1 parent 836175b commit 293dc6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/ops.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def _cython_operation(
758758

759759
result = maybe_fill(np.empty(out_shape, dtype=out_dtype))
760760
if kind == "aggregate":
761-
counts = np.zeros(self.ngroups, dtype=np.int64)
761+
counts = np.zeros(ngroups, dtype=np.int64)
762762
func(result, counts, values, comp_ids, min_count)
763763
elif kind == "transform":
764764
# TODO: min_count

0 commit comments

Comments
 (0)