使用Python熊猫读取镶木地板文件时出现“无效的起始字节”错误

时间:2019-02-05 13:47:55

标签: python pandas parquet

我正在尝试使用熊猫读取实木复合地板文件并出现以下错误:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb9 in position 16: invalid start byte

我找不到发送编码的方法。 这是我的代码:

from pandas import read_parquet
df = read_parquet("file.parquet")
print([col for col in df])

0 个答案:

没有答案