df.drop(da_all.columns[[1, 2]], axis=1,inplace=True)#由于没有设置列名,所以需要用列的index表示,axis=1表示列,inplace表示在原地删除

相关文章:

  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2021-10-18
  • 2021-11-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
相关资源
相似解决方案