~/talk

Tests are docs and docs are tests: an introduction to great_expectations and data profiling

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [testing, data-engineering]
links:none on file
slides:none on file

Introduction to using Great Expectations as a Python library to write declarative “expectations” (e.g. column week_of_month between 1 and 5, room_temperature 60–75°F) that serialize to JSON, render as HTML docs, and run against pandas or Spark batches in CI/CD. Demonstrated a profiler that uses ML (linear regression) and heuristics to detect deterministic relations (age ↔ year_of_birth), surface rare-label typos, and auto-generate expectations with a 90% acceptance ratio threshold; profiler is work‑in‑progress but produces usable tests and docs.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:10What is data testing
  3. 4:00Great Expectations overview
  4. 6:48Creating expectations manually
  5. 10:21Automating data documentation
  6. 13:34Data profiling concept
  7. 19:15Q&A and closing
~/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.