【发布时间】:2016-06-09 18:13:28
【问题描述】:
我在使用 pandas read_table 函数将这个文件读入 python 时遇到了一些困难。 http://www.ssc.wisc.edu/~bhansen/econometrics/invest.dat
这是我的代码:
pd.read_table(f,skiprows=[0], sep="")
产生错误:
TypeError: ord() expected a character, but string of length 0 found
【问题讨论】: