Skip to content

Commit 455de19

Browse files
CLN: redundant code in IntergerArray._reduce (#33523)
1 parent 70ca246 commit 455de19

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/core/arrays/integer.py

-4
Original file line numberDiff line numberDiff line change
@@ -571,10 +571,6 @@ def _reduce(self, name: str, skipna: bool = True, **kwargs):
571571
if np.isnan(result):
572572
return libmissing.NA
573573

574-
# if we have a boolean op, don't coerce
575-
if name in ["any", "all"]:
576-
pass
577-
578574
return result
579575

580576
def _maybe_mask_result(self, result, mask, other, op_name: str):

0 commit comments

Comments
 (0)