AllOk
class AllOk(
none_is_ok: bool = False,
nan_is_ok: bool = False,
tags: TagsSpec | None = field(default=None, kw_only=True),
)
Bases: BoolCriteria
Categories: dq-operator
A boolean criteria that selects rows where every boolean classifier
passes (True). Use with Filter, Select or Fail.
Examples
Select(AllOk(), to_table="clean")
By default a null or NaN verdict counts as a failure; the
none_is_ok / nan_is_ok flags let them pass:
AllOk(none_is_ok=True, nan_is_ok=True)
Parameters
parameter
Optional tags; only the classifiers carrying a matching tag are considered.
Methods
method
to_dictdef to_dict() -> dict[str, Any]