Help I have a JSON file and I can't get it to load in to a python DataFrame. First question should probably be is this actually a json file? Was the resulting file when a chart was rendered on a Web page and this was the back end data I pulled from chrome network inspection.
It seems there is code in front that is not JSON or not a table so it messing up the import.
Can you please help
the below loads the file in to python
import json
from pprint import pprint
with open('data2.json') as data_file:
data = json.load(data_file)
and
pprint(data)
does print the data but I can't then convert to a pandas dataframe
edit
Ok this must be javascript file that I think is JSON.
urladrress with this data to question?