Skip to content

Commit 2cb18b1

Browse files
committed
isna decorator
1 parent b3ea249 commit 2cb18b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/dtypes/missing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def isna(
9393
def isna(obj: object) -> bool | npt.NDArray[np.bool_] | NDFrame: ...
9494

9595

96-
# @set_module("pandas")
96+
@set_module("pandas")
9797
def isna(obj: object) -> bool | npt.NDArray[np.bool_] | NDFrame:
9898
"""
9999
Detect missing values for an array-like object.

pandas/tests/api/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,4 +416,4 @@ def test_set_module():
416416
assert pd.Period.__module__ == "pandas"
417417
assert pd.Timestamp.__module__ == "pandas"
418418
assert pd.Timedelta.__module__ == "pandas"
419-
# assert pd.isna.__module__ == "pandas"
419+
assert pd.isna.__module__ == "pandas"

0 commit comments

Comments
 (0)