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