polars.read_parquet_schema¶
- polars.read_parquet_schema(file: Union[str, BinaryIO, pathlib.Path, bytes]) Dict[str, Type[polars.datatypes.DataType]] ¶
Get a schema of the Parquet file without reading data.
- Parameters
- file
Path to a file or a file-like object.
- Returns
- Dictionary mapping column names to datatypes