We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f7f51 commit e223b5eCopy full SHA for e223b5e
pandas/core/generic.py
@@ -7095,11 +7095,11 @@ def isna(self: FrameOrSeries) -> FrameOrSeries:
7095
--------
7096
Show which entries in a DataFrame are NA.
7097
7098
- >>> df = pd.DataFrame({{'age': [5, 6, np.NaN],
7099
- ... 'born': [pd.NaT, pd.Timestamp('1939-05-27'),
+ >>> df = pd.DataFrame(dict(age=[5, 6, np.NaN],
+ ... born=[pd.NaT, pd.Timestamp('1939-05-27'),
7100
... pd.Timestamp('1940-04-25')],
7101
- ... 'name': ['Alfred', 'Batman', ''],
7102
- ... 'toy': [None, 'Batmobile', 'Joker']}})
+ ... name=['Alfred', 'Batman', ''],
+ ... toy=[None, 'Batmobile', 'Joker']))
7103
>>> df
7104
age born name toy
7105
0 5.0 NaT Alfred None
0 commit comments