| Pointblank Validation | |||||||||||||
2026-04-13|17:02:37 Pandas |
|||||||||||||
| STEP | COLUMNS | VALUES | TBL | EVAL | UNITS | PASS | FAIL | W | E | C | EXT | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| #4CA64C | 1 |
col_vals_expr()
|
✓ | 13 | 13 1.00 |
0 0.00 |
— | — | — | — | |||
2026-04-13 17:02:37 UTC< 1 s2026-04-13 17:02:37 UTC |
|||||||||||||
Custom Expression for Checking Column Values
A column expression can be used to check column values. Just use col_vals_expr() for this.
Custom Expression for Checking Column Values
A column expression can be used to check column values. Just use col_vals_expr() for this.
import pointblank as pb
validation = (
pb.Validate(
data=pb.load_dataset(dataset="small_table", tbl_type="pandas")
)
.col_vals_expr(expr=lambda df: (df["d"] % 1 != 0) & (df["a"] < 10)) # Pandas column expr
.interrogate()
)
validationPreview of Input Table
PandasRows13Columns8 |
||||||||