I am trying to convert yelp challenge dataset from json to csv format using pandas. My session crashed with memory error. like Not enough memory. I am using google colab high RAM. My code works for other files except yelp_academic_dataset_review.json file. Following is my code sample. Can anyone suggest me any solution? Thanks
import pandas as pd
df = pd.read_json('/content/drive/MyDrive/Data/yelp_academic_dataset_review.json', lines=True)
df.to_csv('/content/drive/MyDrive/Data/yelp_review.csv', index = None)