round(file1.isna().sum()/len(file1),4) * 100 code example Example: pandas determine percentage of nans in column >>> flights.isna().mean().round(4) * 100