Skip to content

Commit 601fa21

Browse files
committed
Ensure min_count is passed through
1 parent 7eeff7c commit 601fa21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/groupby.py

+2
Original file line numberDiff line numberDiff line change
@@ -1237,6 +1237,8 @@ def groupby_function(name, alias, npfunc,
12371237
def f(self, **kwargs):
12381238
if 'numeric_only' not in kwargs:
12391239
kwargs['numeric_only'] = numeric_only
1240+
if 'min_count' not in kwargs:
1241+
kwargs['min_count'] = min_count
12401242
self._set_group_selection()
12411243
try:
12421244
return self._cython_agg_general(

0 commit comments

Comments
 (0)