如何将不同的语言加载到数据帧中?

2024-04-19 13:21:26 发布

您现在位置:Python中文网/ 问答频道 /正文

当我尝试加载excel文件时:

pd.read_excel(filename) 

除非我用法语(即Vérité,café)删除列,否则它不会生成a数据帧。我试着切换encoding='utf-8',但没有成功。你知道吗

请帮忙。你知道吗


Tags: 文件数据readfilenameexcelutfencodingpd