We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0abe96 commit f6b3953Copy full SHA for f6b3953
pandas/core/generic.py
@@ -7018,11 +7018,11 @@ def isna(self: FrameOrSeries) -> FrameOrSeries:
7018
--------
7019
Show which entries in a DataFrame are NA.
7020
7021
- >>> df = pd.DataFrame({'age': [5, 6, np.NaN],
+ >>> df = pd.DataFrame({{'age': [5, 6, np.NaN],
7022
... 'born': [pd.NaT, pd.Timestamp('1939-05-27'),
7023
... pd.Timestamp('1940-04-25')],
7024
... 'name': ['Alfred', 'Batman', ''],
7025
- ... 'toy': [None, 'Batmobile', 'Joker']})
+ ... 'toy': [None, 'Batmobile', 'Joker']}})
7026
>>> df
7027
age born name toy
7028
0 5.0 NaT Alfred None
0 commit comments