Skip to content

Commit 0116586

Browse files
committed
ci: more error true
1 parent b7dd666 commit 0116586

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

book/lectures/135-data_validation-python-pandera.qmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,9 @@ we need to do two things:
346346

347347
Below we demonstrate this with our working example.
348348

349+
<!-- TODO: should not need to error true this line, but trying to fix CI-->
349350
```{python}
351+
#| error: true
350352
schema = pa.DataFrameSchema(
351353
{
352354
"class": pa.Column(str, pa.Check.isin(["Benign", "Malignant"]), nullable=True),
@@ -368,7 +370,9 @@ not the DataFrame-wide checks like our checks for duplicates or empty rows.
368370
Thus to make sure we drop these, we need to rely on Pandas to do this.
369371
We demonstrate how we can do this below:
370372

373+
<!-- TODO: should not need to error true this line, but trying to fix CI-->
371374
```{python}
375+
# | error: true
372376
schema.validate(invalid_data, lazy=True).drop_duplicates().dropna(how="all")
373377
```
374378

0 commit comments

Comments
 (0)