特牛生活网

(三)pandas基本使用——读取和保存csv文件_pd.save_csv-CSDN博客

网友收藏
文章浏览阅读7.4w次,点赞14次,收藏47次。1、是否保留列名 header: Whether to write out the column names (default True)df.to_csv(‘path/Result.csv’,header=0) #不保存列名2、是否保留行索引 index: whether to write row (index) names (default True)df.to_csv(‘pat..._pd.save_csv
标签:pd.save_csv