【发布时间】:2021-03-03 19:57:57
【问题描述】:
我正在尝试在 Python 中读取 json 文件并将其转换为数据框。问题是我的 json 文件里面有几个 json 对象。我的json的结构是这样的:
{"Temp":"2,3", "OutsideTemp" : "3,4",...}
{"Temp":"3,2", "OutsideTemp" : "4,4",...}
{"Temp":"2,8", "OutsideTemp" : "3,7",...}
...
我尝试过使用 json 行和 pandas.read_json 但只有错误。 (如你所见,我是 python 的菜鸟,帮帮我!)
【问题讨论】:
标签: python json pandas dataframe jsonlines