pandas.read_parquet

pandas.read_parquet(path, engine='auto', columns=None, **kwargs)[source]

Load a parquet object from the file path, returning a DataFrame.

Parameters:

path : string

File path

columns: list, default=None

If not None, only these columns will be read from the file.

engine : {‘auto’, ‘pyarrow’, ‘fastparquet’}, default ‘auto’

Parquet library to use. If ‘auto’, then the option io.parquet.engine is used. The default io.parquet.engine behavior is to try ‘pyarrow’, falling back to ‘fastparquet’ if ‘pyarrow’ is unavailable.

kwargs are passed to the engine
Returns:
DataFrame
Scroll To Top