~/talk

Improving Open Data Quality using Python

Talkat PyData Global 2023 · 2023-12-06..12-08· [python, data-visualization]
links:none on file
slides:none on file

Uses Great Expectations with pandas and sweetviz to validate Toronto open data bicycle thefts, not just talk about cleaning. Finds ~34k rows with ~28k missing OC_date (~83%) and ~6,700 non‑unique event IDs (~20%), plus inconsistent brand codes and undocumented extra files. Builds an expectation suite, validator and checkpoint, runs checks, documents results as local data docs, fixes many issues in pandas and reduces failing expectations (from four failing to two), while noting GE documents but does not auto‑fix data.

AI-written summary · about

  1. 0:00Welcome
  2. 1:25Talk agenda
  3. 6:02Open data quality
  4. 17:50Data requirements
  5. 21:51Bicycle theft dataset
  6. 33:13Setting up the Python environment
  7. 36:02Exploratory analysis
  8. 54:24Great Expectations intro
  9. 1:02:59Validating data
  10. 1:11:50Fixing data with pandas
  11. 1:17:12Final validation
  12. 1:21:34Longitudinal data
  13. 1:24:28Q&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.