Examples
Show which entries in a DataFrame are not NA.

In [1]:
import numpy as np
import pandas as pd
In [2]:
df = pd.DataFrame({'age': [6, 7, np.NaN],
                   'born': [pd.NaT, pd.Timestamp('1998-04-25'),
                             pd.Timestamp('1940-05-27')],
                   'name': ['Alfred', 'Spiderman', ''],
                   'toy': [None, 'Spidertoy', 'Joker']})
df
Out[2]:
age born name toy
0 6.0 NaT Alfred None
1 7.0 1998-04-25 Spiderman Spidertoy
2 NaN 1940-05-27 Joker
In [3]:
df.notna()
Out[3]:
age born name toy
0 True False True False
1 True True True True
2 False True True True

Show which entries in a Series are not NA.

In [4]:
s = pd.Series([6, 7, np.NaN])
s
Out[4]:
0    6.0
1    7.0
2    NaN
dtype: float64

In [5]:
s.notna()
Out[5]:
0     True
1     True
2    False
dtype: bool