File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,6 @@ def isna(obj: object) -> bool | npt.NDArray[np.bool_] | NDFrame:
180180isnull = isna
181181
182182
183- @set_module ("pandas" )
184183def _isna (obj ):
185184 """
186185 Detect missing values, treating None, NaN or NA as null.
@@ -313,6 +312,7 @@ def notna(
313312def notna (obj : object ) -> bool | npt .NDArray [np .bool_ ] | NDFrame : ...
314313
315314
315+ @set_module ('pandas' )
316316def notna (obj : object ) -> bool | npt .NDArray [np .bool_ ] | NDFrame :
317317 """
318318 Detect non-missing values for an array-like object.
Original file line number Diff line number Diff line change @@ -418,3 +418,4 @@ def test_set_module():
418418 assert pd .Timestamp .__module__ == "pandas"
419419 assert pd .Timedelta .__module__ == "pandas"
420420 assert pd .isna .__module__ == "pandas"
421+ assert pd .notna .__module__ == "pandas"
You can’t perform that action at this time.
0 commit comments