pyarrow.parquet.read_metadata

pyarrow.parquet.read_metadata(where, memory_map=False)[source]

Read FileMetadata from footer of a single Parquet file.

Parameters
wherestr (file path) or file-like object
memory_mapbool, default False

Create memory map when the source is a file path.

Returns
metadataFileMetadata