File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 19
19
NaT ,
20
20
iNaT ,
21
21
)
22
+ from pandas .util ._decorators import set_module
22
23
23
24
from pandas .core .dtypes .common import (
24
25
DT64NS_DTYPE ,
@@ -93,6 +94,7 @@ def isna(
93
94
def isna (obj : object ) -> bool | npt .NDArray [np .bool_ ] | NDFrame : ...
94
95
95
96
97
+ @set_module ("pandas" )
96
98
def isna (obj : object ) -> bool | npt .NDArray [np .bool_ ] | NDFrame :
97
99
"""
98
100
Detect missing values for an array-like object.
@@ -307,6 +309,7 @@ def notna(
307
309
def notna (obj : object ) -> bool | npt .NDArray [np .bool_ ] | NDFrame : ...
308
310
309
311
312
+ @set_module ("pandas" )
310
313
def notna (obj : object ) -> bool | npt .NDArray [np .bool_ ] | NDFrame :
311
314
"""
312
315
Detect non-missing values for an array-like object.
Original file line number Diff line number Diff line change @@ -417,6 +417,8 @@ def test_set_module():
417
417
assert pd .Period .__module__ == "pandas"
418
418
assert pd .Timestamp .__module__ == "pandas"
419
419
assert pd .Timedelta .__module__ == "pandas"
420
+ assert pd .isna .__module__ == "pandas"
421
+ assert pd .notna .__module__ == "pandas"
420
422
assert pd .merge .__module__ == "pandas"
421
423
assert pd .merge_ordered .__module__ == "pandas"
422
424
assert pd .merge_asof .__module__ == "pandas"
You can’t perform that action at this time.
0 commit comments