Variable Metadata API¶
Document dataset columns and configure how they are profiled.
Use column metadata to create, read and edit documentation stored in parquet files. See the metadata convention for recommended attributes.
Use Variables.set() to configure analytical types, labels and other profiling settings.
| API | Description |
|---|---|
Variables |
Column metadata; selectors are expanded against a specific source schema |
Variable |
API definition and return type |
Variables.set |
Add a reusable semantic-metadata rule for selected variables |
Variables.resolve |
Resolve configured metadata rules against an input schema |
Parquet Metadata¶
| API | Purpose |
|---|---|
ps.Metadata() |
Build metadata for a new parquet file |
ps.Metadata(path) |
Edit metadata in an existing file |
ps.read_column_metadata(path) |
Read the nested column dictionary |
ps.data_dictionary(path) |
Generate a dictionary as a polars dataframe |
Report.add_data_dictionary(path) |
Add a dictionary to a report |
See Working with column metadata for examples.