3.4. Read JSON
File paths works also with URLs
File can be compressed with
.gz,.bz2,.zip,.xz
3.4.1. Compressed
If the extension is
.gz,.bz2,.zip, and.xz, the corresponding compression method is automatically selected
>>> df = pd.read_json('sample_file.zip', compression='zip')
>>> df = pd.read_json('sample_file.gz', compression='infer')