pd.read_json¶
pandas.read_json
- Example usage and more system specific instructions
- Only supports reading JSON Lines text file format
    (pd.read_json(filepath_or_buffer, orient='records', lines=True)) and regular multi-line JSON file(pd.read_json(filepath_or_buffer, orient='records', lines=False)).
- Argument filepath_or_bufferis supported: it can point to a single JSON file, or a directory containing multiple partitioned JSON files. When reading a directory, the JSON files inside the directory must be JSON Lines text file format withjsonfile extension.
- Argument orient = 'records'is used as default, instead of Pandas' default'columns'for dataframes.'records'is the only supported value fororient.
- Argument typis supported.'frame'is the only supported value fortyp.
- filepath_or_buffermust be inferrable as a constant string. This is required so bodo can infer the types at compile time, see compile time constants.
- Arguments convert_dates,precise_float,linesare supported.
- Argument anonofstorage_optionsis supported for S3 filepaths.