如何在保存csv文件的时候,不存储DataFrame的行索引信息呢,我们看下面的解决方法。 df.to_csv(path_or_buf='路径',index=False,encoding='utf_8_sig').
確定! 回上一頁