Skip to content

Commit 2c511dc

Browse files
authored
PERF: dropna (#43683)
1 parent 411e8ba commit 2c511dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/core/nanops.py

+1
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ def newfunc(values: np.ndarray, *, axis: int | None = None, **kwargs):
462462
and values.ndim == 2
463463
and values.flags["C_CONTIGUOUS"]
464464
and values.dtype != object
465+
and values.dtype != bool
465466
):
466467
arrs = list(values)
467468
if kwargs.get("mask") is not None:

0 commit comments

Comments
 (0)