We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 553f1fc commit 17eaf2cCopy full SHA for 17eaf2c
pandas/core/ops/array_ops.py
@@ -398,7 +398,7 @@ def is_nullable_bool(arr) -> bool:
398
# isna works elementwise on object arrays
399
na_mask = isna(arr)
400
bool_mask = np.array([x is True or x is False for x in arr])
401
- return np.all(na_mask | bool_mask)
+ return bool(np.all(na_mask | bool_mask))
402
403
404
def safe_is_true(arr: np.ndarray) -> np.ndarray:
0 commit comments