I am trying to load a large json file (around 4G) as a pandas dataframe, but the following method does not work for file > around 2G. Is there any alternative method?
data_dir = 'data.json'
my_data = pd.read_json(data_dir, lines = True)
I tried ijson but have no idea how to covert it to a dataframe.