how to check if a row has nan in pandas code example Example: find nan value in dataframe python # to mark NaN column as True df['your column name'].isnull()