find columns with certain percentage of na pandas code example
Example 1: pandas determine percentage of nans in column
>>> flights.isna().mean().round(4) * 100
Example 2: percentage rows are na
mean(is.na(x))
>>> flights.isna().mean().round(4) * 100
mean(is.na(x))