Skip to content

Commit 5b7d0c2

Browse files
committed
typing fixes
1 parent 35da3f6 commit 5b7d0c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/arrays/numeric.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
import pyarrow
3434

35+
from pandas._libs.arrays import BitmaskArray
3536
from pandas._typing import (
3637
Dtype,
3738
DtypeObj,
@@ -232,7 +233,7 @@ class NumericArray(BaseMaskedArray):
232233
def __init__(
233234
self,
234235
values: np.ndarray,
235-
mask: npt.NDArray[np.bool_],
236+
mask: npt.NDArray[np.bool_] | BitmaskArray,
236237
copy: bool = False,
237238
) -> None:
238239
checker = self._dtype_cls._checker

0 commit comments

Comments
 (0)