I am using python 3.6 and trying to download json file (350 MB) as pandas dataframe using the code below. However, I get the following error:
da
Using the json module you can parse the json into a python object, then create a dataframe from that:
import json import pandas as pd with open('C:/Users/Alberto/nutrients.json', 'r') as f: data = json.load(f) df = pd.DataFrame(data)