cascade.utils.pandera#
- class cascade.utils.pandera.PaSchemaValidator(dataset: TableDataset, schema: DataFrameSchema, *args: Any, **kwargs: Any)[source]#
pandera-based data validator for ``TableDataset``s. It accepts TableDataset and schema. For more details on schemas see pandera’s documentation.
- __init__(dataset: TableDataset, schema: DataFrameSchema, *args: Any, **kwargs: Any) None [source]#
- Parameters:
dataset (TabelDataset) – Dataset to validate
schema – Schema of the table in the format that is acceptable by pandera or path to the YAML file with schema. For more details on schemas see pandera’s documentation.
- Raises: