Reading JSON from a file?

前端 未结 7 1840
無奈伤痛
無奈伤痛 2020-11-22 03:33

I am getting a bit of headache just because a simple looking, easy statement is throwing some errors in my face.

I have a json file called strings.json like this:

7条回答
  •  心在旅途
    2020-11-22 03:42

    To add on this, today you are able to use pandas to import json:
    https://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_json.html You may want to do a careful use of the orient parameter.

提交回复
热议问题