File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ html-table-processing: none
10
10
11
11
Pulling out data extracts that highlight rows with validation failures.
12
12
13
- Validation with failures at * Step 2* :
13
+ < p style = " text-transform : uppercase ; " > Validation with failures at *Step 2*:</ p >
14
14
15
15
``` {python}
16
16
#| echo: false
@@ -23,20 +23,20 @@ validation = (
23
23
tbl_name="game_revenue",
24
24
label="Validation with test unit failures available as an extract"
25
25
)
26
- .col_vals_gt(columns="item_revenue", value=0) # STEP 1: no test unit failures
27
- .col_vals_ge(columns="session_duration", value=5) # STEP 2: 14 test unit failures -> extract
26
+ .col_vals_gt(columns="item_revenue", value=0)
27
+ .col_vals_ge(columns="session_duration", value=5)
28
28
.interrogate()
29
29
)
30
30
31
31
validation
32
32
```
33
33
34
34
<br >
35
- Extract from * Step 2* (` .col_vals_ge(columns="session_duration", value=5) ` ):
35
+ < p style = " text-transform : uppercase ; " > Extract from *Step 2* (which has 14 failing test units):</ p >
36
36
37
37
``` {python}
38
38
#| echo: false
39
- pb.preview(validation.get_data_extracts(i=2, frame=True))
39
+ pb.preview(validation.get_data_extracts(i=2, frame=True), n_head=20, n_tail=20 )
40
40
```
41
41
42
42
``` python
@@ -51,7 +51,6 @@ validation = (
51
51
.col_vals_gt(columns = " item_revenue" , value = 0 ) # STEP 1: no test unit failures
52
52
.col_vals_ge(columns = " session_duration" , value = 5 ) # STEP 2: 14 test unit failures -> extract
53
53
.interrogate()
54
- .interrogate()
55
54
)
56
55
```
57
56
You can’t perform that action at this time.
0 commit comments