python check if nan string code example Example: check is string is nan python >>> pd.isnull(None) True