📌  相关文章
📜  utf-8 编解码器无法解码字节 python 代码示例

📅  最后修改于: 2022-03-11 14:45:28.650000             🧑  作者: Mango

代码示例2
# try this if you get the error utf-8 codec can't decode byte
# Assuming your file is pipe delimited otherwise remove sep='|'
pd.read_csv(r'C:\path\to\file.csv', sep='|', encoding = "ISO-8859-1")