import pandas as pd reviews = pd.read_csv("a.csv"', encoding="utf-8-sig") reviews.to_csv("b.csv", encoding="utf-8-sig", header=False, index=False)
encoding = ‘gbk’
encoding = ‘gbk18030’
encoding = ‘UTF-8’
encoding = 'utf_8_sig’
欢迎分享,转载请注明来源:内存溢出
import pandas as pd reviews = pd.read_csv("a.csv"', encoding="utf-8-sig") reviews.to_csv("b.csv", encoding="utf-8-sig", header=False, index=False)
encoding = ‘gbk’
encoding = ‘gbk18030’
encoding = ‘UTF-8’
encoding = 'utf_8_sig’
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)