我正在尝试用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
我已经尝试过几种方式改变给定路径的格式,它从来没有用过......