NotImplementedError: file structure not yet supported
data4 = pd.read_table(file, encoding='gbk', header=0, parse_dates=[['年月日', '时间戳']])
发现我的文件缺少列,一种解决方案是跳过解析标题:
data2 = pd.read_table(file, encoding='gbk', header=0, parse_dates={'datetime':['年月日', '时间戳']}, index_col=['datetime'],skiprows=1)
参考资料
[1] python - 未实现错误 : file structure not yet supported from pandas read_csv ;



