df = pd.DataFrame(dict(age=[5, 6, np.NaN],
                   born=[pd.NaT, pd.Timestamp('1939-05-27'),
                         pd.Timestamp('1940-04-25')],
                   name=['Alfred', 'Batman', ''],
                   toy=[None, 'Batmobile', 'Joker']))
df

# 判断是否是空值,若是空值则返回True,否则返回False
df.isnull() 

# 判断是否是空值,若是空值则返回True,否则返回False
df.isna() 

# 判断是否是空值,若是空值则返回False,否则返回True
df.notna() 

# 判断是否是空值,若是空值则返回False,否则返回True
df.notnull()