Skip to content
Advertisement

Unable to import json file in spyder python with JSONDecodeError: Extra data

I’m new to python, I used the below code in spyder platform to parse the json file but it reflects an error.

JavaScript

Error:

JavaScript

Advertisement

Answer

df1 = pd.read_json(“D:/Py_Scrach/used_car_prices1.json”,lines=True)

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement