Skip to content

Commit a48ddaa

Browse files
committed
Merge branch 'cln-_aggregate' of https://github.com/arw2019/pandas into cln-_aggregate
2 parents a000ca9 + 626ddc7 commit a48ddaa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/groupby/ops.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,7 @@ def _aggregate(
603603
):
604604
if agg_func is libgroupby.group_nth:
605605
# different signature from the others
606-
# TODO: should we be using min_count instead of hard-coding it?
607-
agg_func(result, counts, values, comp_ids, rank=1, min_count=-1)
606+
agg_func(result, counts, values, comp_ids, rank=1, min_count=min_count)
608607
else:
609608
agg_func(result, counts, values, comp_ids, min_count)
610609

0 commit comments

Comments
 (0)