Skip to content

Commit 07706a5

Browse files
removed min_count arg
Co-authored-by: Joris Van den Bossche <[email protected]>
1 parent 3434073 commit 07706a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/array_algos/masked_reductions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def max(values: np.ndarray, mask: np.ndarray, skipna: bool = True):
102102
return _minmax(np.max, values=values, mask=mask, skipna=skipna)
103103

104104

105-
def mean(values: np.ndarray, mask: np.ndarray, skipna: bool = True, min_count: int = 0):
105+
def mean(values: np.ndarray, mask: np.ndarray, skipna: bool = True):
106106
return _sumprod(
107107
np.sum, values=values, mask=mask, skipna=skipna, min_count=min_count
108108
) / np.count_nonzero(~mask)

0 commit comments

Comments
 (0)