Skip to content

Commit 104dfd1

Browse files
update
1 parent 07da201 commit 104dfd1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/core/frame.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7654,8 +7654,7 @@ def notna(self) -> DataFrame:
76547654
return ~self.isna()
76557655

76567656
def notnull(self) -> DataFrame:
7657-
"""
7658-
DataFrame.notnull is an alias for DataFrame.notna.
7657+
"""DataFrame.notnull is an alias for DataFrame.notna.
76597658

76607659
Detect existing (non-missing) values.
76617660

@@ -7698,13 +7697,13 @@ def notnull(self) -> DataFrame:
76987697
... )
76997698
... )
77007699
>>> df
7701-
age born name toy
7700+
age born name toy
77027701
0 5.0 NaT Alfred NaN
77037702
1 6.0 1939-05-27 Batman Batmobile
77047703
2 NaN 1940-04-25 Joker
77057704

77067705
>>> df.notna()
7707-
age born name toy
7706+
age born name toy
77087707
0 True False True False
77097708
1 True True True True
77107709
2 False True True True

0 commit comments

Comments
 (0)