if null values present in pandas code example Example: find nan value in dataframe python # to mark NaN column as True df['your column name'].isnull()