Dataframe to file Dataframe to file 2018 年 9 月 13 日 maruilian11 Comments 0 Comment df.to_csv(file_name, index=False, encoding='utf-8') index=False要加,不然讀的時候會多一排index(或是讀的時候加index_col=False)