统计所有列的空值:data.isnull().sum()

转化成list:

df.isnull().sum().index.tolist()

df.isnull().sum().values.tolist()

 还可以直接变为字典。

dict(data.isnull().sum())

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
  • 2022-12-23
  • 2021-11-06
  • 2021-04-17
  • 2022-01-03
  • 2022-02-22
猜你喜欢
  • 2022-12-23
  • 2021-06-04
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案