Skip to content

Commit 4a2915a

Browse files
committed
Print validation table in final code cell
1 parent f8fc892 commit 4a2915a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/user-guide/preprocessing.qmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ DataFrame with in lambda expression in `pre=`:
157157
data_original = pb.load_dataset("small_table")
158158
data_transformed = data_original.group_by("f").len(name="n")
159159
160-
v = (
160+
validation = (
161161
pb.Validate(
162162
data=pb.load_dataset(dataset="small_table", tbl_type="polars"),
163163
tbl_name="small_table",
@@ -166,6 +166,8 @@ v = (
166166
.col_vals_ge(columns="n", value=3, pre=lambda x: data_transformed)
167167
.interrogate()
168168
)
169+
170+
validation
169171
```
170172

171173
We can see from the validation report table that there are three test units. This corresponds to a

0 commit comments

Comments
 (0)