[pandas]- 保存csv文件时,去除自动添加的列索引和表头

132 阅读1分钟

pd.Dataframe.to_csv("rs.csv", header = None, index = False)

加上这个两个参数即可.