HOW TO CHECK if columns have nan values in dataframe r code example Example: pandas nan values in column df['your column name'].isnull()