pyarrow.parquet.read_schema

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

Read effective Arrow schema from Parquet file metadata

Parameters:
  • where (string (filepath) or file-like object) –
  • memory_map (boolean, default False) – Create memory map when the source is a file path
Returns:

schema (pyarrow.Schema)