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