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 2e8c545 commit acdd915Copy full SHA for acdd915
pandas/core/arrays/numeric.py
@@ -265,7 +265,7 @@ def __init__(
265
f"values should be {descr} numpy array. Use "
266
"the 'pd.array' function instead"
267
)
268
- if not (isinstance(mask, np.ndarray) and mask.dtype == np.bool):
+ if not (isinstance(mask, np.ndarray) and mask.dtype == np.bool_):
269
raise TypeError(
270
"mask should be bool numpy array. Use the 'pd.array' function instead"
271
0 commit comments