I have a large Json file. When i try to read from Pandas as below, it fails with Memory error.
pd.read_json('http://10.10.10.10/rest/get_file.json')
So i tried using Chunk size. Now it returns jsonreader object
pd.read_json('http://10.10.10.10/rest/get_file.json', orient="records", lines=True, chunksize=50) Out[3]: <pandas.io.json.json.JsonReader at 0x1a6a35b0>
How to convert this json reader to Dataframe?