Expand description
Schema inference for data files.
Reads just the schema (column names + types) from CSV, JSON, and Parquet files without loading the full data. Used for compile-time schema validation.
Modules§
- lockfile
- Schema cache helpers backed by generic
shape.lockartifacts.
Enums§
- Schema
Infer Error - Error type for schema inference operations.
Functions§
- infer_
csv_ schema - Infer schema from a CSV file using header + sample rows.
- infer_
json_ schema - Infer schema from a JSON/NDJSON file using sample rows.
- infer_
parquet_ schema - Infer schema from a Parquet file by reading only the footer metadata.
- infer_
schema - Infer the Arrow schema from a data file by extension.