skip to Main Content

How to convert large JSON to CSV in Python?

I have a 4gb json file I need to convert it to csv I tried the following code: import json import csv csv.field_size_limit(10**9) With open('name.json') as json_file: jsondata = json.load(json_file) data_file = open('name.csv', 'w', newline='') csv_writer = csv.writer(data_file) count =…

VIEW QUESTION
Back To Top
Search