Skip to content

Commit 6a54faf

Browse files
committed
small error in algo
1 parent d0c4bda commit 6a54faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/src/algos_groupby_helper.pxi.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,7 @@ def group_cummin(numeric[:, :] out,
698698
elif val < accum[lab, j]:
699699
min_val = val
700700
accum[lab, j] = min_val
701-
out[i, j] = min_val
701+
out[i, j] = accum[lab, j]
702702

703703

704704
@cython.boundscheck(False)

0 commit comments

Comments
 (0)