how to print na values of every column in python code example Example: pandas determine percentage of nans in column >>> flights.isna().mean().round(4) * 100