parq_blockmodel.schema.utils.dump_schema_yaml#
- parq_blockmodel.schema.utils.dump_schema_yaml(schema)[source]#
Serialize a pandera schema to YAML text.
- Parameters:
schema (DataFrameSchema) – The schema to serialize.
- Returns:
YAML representation of the schema.
- Return type:
str
- Raises:
ImportError – If df-eval is not installed.
ValueError – If serialization fails.