df.to_csv 保存時去掉索引,保存為中文不亂碼
df.to_csv('表名.csv',index = False,encoding='utf-8-sig')
本文來自博客園,作者:Hany47315,轉載請注明原文鏈接:http://www.rzrgm.cn/hany-postq473111315/p/15886461.html
df.to_csv('表名.csv',index = False,encoding='utf-8-sig')
本文來自博客園,作者:Hany47315,轉載請注明原文鏈接:http://www.rzrgm.cn/hany-postq473111315/p/15886461.html