pyarrow.parquet.read_schema

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

Read effective Arrow schema from Parquet file metadata.

Parameters
  • where (str (filepath) or file-like object) –

  • memory_map (bool, default False) – Create memory map when the source is a file path.

Returns

schema (pyarrow.Schema)