How to use pandas to correctly read cvs files with Chinese

train = pd.read_csv('train_data_head_Chinese.csv', encoding="gb18030")

The key is the parameters in encoding

Guess you like

Origin blog.csdn.net/huatianxue/article/details/114264266