~/talk

Validating and Testing R Dataframes with Pandera via reticulate

Talkat posit::conf(2023) · 2023-09-17..09-20· [python]
slides:none on file

Shows that Pandera via reticulate validates R dataframes by calling Pandera schemas from R, using a conda env and reticulate to pass dataframes into Python and back. Demonstrates a DataFrameModel class, schema.validate lazy=True to collect all failures, and schema.example() to synthesize test data. Claims Pandera enforces types, ranges, regex and custom checks, reports precise failure rows, and the demo works end-to-end though not exhaustively across every R datatype.

AI-written summary · about

  1. 0:00Data validation challenges
  2. 3:21Why validation matters
  3. 6:30Introducing Pandera
  4. 7:37Defining Pandera schemas
  5. 10:07Validating data and errors
  6. 12:40Validation in functions
  7. 14:08Advanced schema options
  8. 15:51Built-in and custom checks
  9. 17:14Regex for large datasets
  10. 18:40Pandera with R via reticulate
  11. 19:46Generating test data
  12. 20:49Summary and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.