Skip to content

Commit 17eaf2c

Browse files
committed
Correction for Code Checks / Docstring validation, typing, and other manual pre-commit hooks (pull_request)Failing after 16m
1 parent 553f1fc commit 17eaf2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/ops/array_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ def is_nullable_bool(arr) -> bool:
398398
# isna works elementwise on object arrays
399399
na_mask = isna(arr)
400400
bool_mask = np.array([x is True or x is False for x in arr])
401-
return np.all(na_mask | bool_mask)
401+
return bool(np.all(na_mask | bool_mask))
402402

403403

404404
def safe_is_true(arr: np.ndarray) -> np.ndarray:

0 commit comments

Comments
 (0)