Home > front end >  How to load a nested json file into a pandas DataFrame
How to load a nested json file into a pandas DataFrame

Time:11-26

please help I cannot seem to get the json data into a Dataframe.

loaded the data data =json.load(open(r'path'))#this works fine and displays: Output Dataframe

You can further add record field in the normalize method to create more columns for the polygon coordinates.

You can find more documentation at https://pandas.pydata.org/pandas-docs/version/1.2.0/reference/api/pandas.json_normalize.html

Hope that helps.

  • Related