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
if you want to convert it into an array of JSON objects, I think this one will do what you want
import json data = [] with open('nutrients.json', errors='ignore') as f: for line in f: data.append(json.loads(line)) print(data[0])