Skip to content

Commit 553f1fc

Browse files
authored
Update array_ops.py
1 parent 95e06d3 commit 553f1fc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/ops/array_ops.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +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 bool(np.all(na_mask | bool_mask))
402-
#return np.all(na_mask | bool_mask)
401+
return np.all(na_mask | bool_mask)
403402

404403

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

0 commit comments

Comments
 (0)