加入encoding=‘utf-8’后还是乱码
df.to_csv('filename.csv', encoding='utf-8')
加入utf-8_sig后正常显示
df.to_csv('filename.csv', encoding='utf-8_sig')
加入encoding=‘utf-8’后还是乱码
df.to_csv('filename.csv', encoding='utf-8')
加入utf-8_sig后正常显示
df.to_csv('filename.csv', encoding='utf-8_sig')