df.to_csv 保存时去掉索引,保存为中文不乱码
df.to_csv('表名.csv',index = False,encoding='utf-8-sig')
本文来自博客园,作者:Hany47315,转载请注明原文链接:https://www.cnblogs.com/hany-postq473111315/p/15886461.html
df.to_csv('表名.csv',index = False,encoding='utf-8-sig')
本文来自博客园,作者:Hany47315,转载请注明原文链接:https://www.cnblogs.com/hany-postq473111315/p/15886461.html