| Pointblank Validation | |||||||||||||
| 2025-10-29|23:17:58 Polars | |||||||||||||
| STEP | COLUMNS | VALUES | TBL | EVAL | UNITS | PASS | FAIL | W | E | C | EXT | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #4CA64C | 1 | col_vals_in_set() | ✓ | 13 | 13 1.00 | 0 0.00 | — | — | — | — | |||
| #4CA64C | 2 | col_vals_not_in_set() | ✓ | 13 | 13 1.00 | 0 0.00 | — | — | — | — | |||
| 2025-10-29 23:17:58 UTC< 1 s2025-10-29 23:17:58 UTC | |||||||||||||
Set Membership
Perform validations that check whether values are part of a set (or not part of one).
import pointblank as pb
validation = (
    pb.Validate(
        data=pb.load_dataset(dataset="small_table", tbl_type="polars")
    )
    .col_vals_in_set(columns="f", set=["low", "mid", "high"])    # part of this set
    .col_vals_not_in_set(columns="f", set=["zero", "infinity"])  # not part of this set
    .interrogate()
)
validationPreview of Input Table
| PolarsRows13Columns8 | ||||||||