Loading a file with more than one line of JSON into Pandas

From version 0.19.0 of Pandas you can use the lines parameter, like so:

import pandas as pd

data = pd.read_json('/path/to/file.json', lines=True)

Leave a Comment