Skip to content

Commit a7e69ad

Browse files
committed
Merge branch 'reduction_dtypes_II' of https://github.com/topper-123/pandas into reduction_dtypes_II
2 parents f603de0 + f7b354c commit a7e69ad

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
@@ -124,8 +124,8 @@ def _minmax(
124124
subset = values[~mask]
125125
if subset.size:
126126
return func(values, where=~mask, axis=axis, initial=subset[0])
127-
# min/max with empty array raise in numpy, pandas returns NA
128127
else:
128+
# min/max with empty array raise in numpy, pandas returns NA
129129
return libmissing.NA
130130

131131

0 commit comments

Comments
 (0)