python dataframe 按列统计nan值个数

num = df.isna().sum()

猜你喜欢

转载自blog.csdn.net/mengdg3000/article/details/85195343