extract_metadata

extract_metadata(parquet_path: Path, /, *, output_path: Path | None = None)

Extract metadata from a Parquet file.

Parameters

parquet_path : Path

The path to the Parquet file.

output_path : Path | None = None

The path where the extracted metadata should be saved. Defaults to <parquet-filename>_properties.py in the current working directory.