Skip to content

Commit 78b5f94

Browse files
committed
Refine text in the data extracts demo
1 parent 4166afa commit 78b5f94

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/demos/03-data-extracts/index.qmd

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ html-table-processing: none
1010

1111
Pulling out data extracts that highlight rows with validation failures.
1212

13-
Validation with failures at *Step 2*:
13+
<p style="text-transform: uppercase;">Validation with failures at *Step 2*:</p>
1414

1515
```{python}
1616
#| echo: false
@@ -23,20 +23,20 @@ validation = (
2323
tbl_name="game_revenue",
2424
label="Validation with test unit failures available as an extract"
2525
)
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)
2828
.interrogate()
2929
)
3030
3131
validation
3232
```
3333

3434
<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>
3636

3737
```{python}
3838
#| 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)
4040
```
4141

4242
```python
@@ -51,7 +51,6 @@ validation = (
5151
.col_vals_gt(columns="item_revenue", value=0) # STEP 1: no test unit failures
5252
.col_vals_ge(columns="session_duration", value=5) # STEP 2: 14 test unit failures -> extract
5353
.interrogate()
54-
.interrogate()
5554
)
5655
```
5756

0 commit comments

Comments
 (0)