Skip to content

Commit 217a0ed

Browse files
committed
detector_3
1 parent 3b1fa65 commit 217a0ed

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pandas/core/dtypes/missing.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
iNaT,
2121
)
2222

23+
from pandas.util._decorators import set_module
24+
2325
from pandas.core.dtypes.common import (
2426
DT64NS_DTYPE,
2527
TD64NS_DTYPE,
@@ -43,7 +45,7 @@
4345
)
4446
from pandas.core.dtypes.inference import is_list_like
4547

46-
from pandas.util._decorators import set_module
48+
4749

4850
if TYPE_CHECKING:
4951
from re import Pattern
@@ -178,6 +180,7 @@ def isna(obj: object) -> bool | npt.NDArray[np.bool_] | NDFrame:
178180
isnull = isna
179181

180182

183+
@set_module("pandas")
181184
def _isna(obj):
182185
"""
183186
Detect missing values, treating None, NaN or NA as null.

pandas/tests/api/test_api.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
)
1515

1616

17+
1718
class Base:
1819
def check(self, namespace, expected, ignored=None):
1920
# see which names are in the namespace, minus optional

0 commit comments

Comments
 (0)