Enrich
class Enrich(
to_table: TableNameSpec | None = None,
tags: TagsSpec | None = field(default=None, kw_only=True),
)
Bases: TagOperator
Categories: dq-operator
An operator that appends each classifier's verdict column to the target table. No rows are removed.
Examples
Enrich()
Write the enriched rows to another table instead of adding the verdict columns in place:
Enrich(to_table="checked_enriched")
Parameters
parameter
to_tableTableNameSpec | None (str | None)Table to write the enriched rows to; a valid table name.
If None (default), the target table is enriched in place.
parameter
Optional list of tags; only classifiers carrying a matching tag are applied.
Methods
method
to_dictdef to_dict() -> dict[str, Any]