rb1*_*992 1 python encoding sas pandas
我正在尝试使用pandas函数read_sas(版本0.17)导入sas数据集(.sas7bdat格式),但它给了我以下错误:
read_sas
UnicodeDecodeError:'ascii'编解码器无法解码位置12的字节0xc2:序数不在范围内(128)
for*_*est 6
使用encoding ='iso-8859-1'
pd.read_sas(filepath, format = 'sas7bdat', encoding='iso-8859-1')
归档时间:
9 年,5 月 前
查看次数:
3998 次
最近记录:
8 年,1 月 前