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 a6f12a0 commit adbedf9Copy full SHA for adbedf9
pandas/core/ops/array_ops.py
@@ -398,7 +398,8 @@ 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
+ #return np.all(na_mask | bool_mask)
403
404
405
def safe_is_true(arr: np.ndarray) -> np.ndarray:
0 commit comments