加上参数index_col=0


pd.read_csv(path, index_col=0)

pd.to_csv(path, index=False)

相关文章:

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