1 统计dataframe中每一列缺失值的个数,一行代码即可
df.isnull().sum()
参考:https://blog.csdn.net/weixin_33994444/article/details/87125083