ValueError:使用Panda ro读取json文件时的预期对象或值

时间:2017-06-21 23:16:00

标签: python json

我正在尝试用Pandas读取json文件

sns.set(style="whitegrid", color_codes=True)

path = "../data/db_complete.log"
df = pd.read_json(path, orient='records', lines=True)

lift_df = df.loc[:, ["aisle", "lift_finish_retrieve_time"]]
interval = 3600

df_order = df[["parent_order", "release", "shuttle_start_retrieve_time","finish_pick_time"]]

print(df.columns)

当我运行它时,我收到此错误消息:

ValueError: Expected object or value

我已经尝试过几种方式改变给定路径的格式,它从来没有用过......

0 个答案:

没有答案