how to check for missing values in pandas dataframe python code example Example: check for missing values by column in pandas df.isna().any()