~/talk

Mastering DataFrame Diffing Techniques

Talkat PyData NYC 2024 Β· 2024-11-06..11-08Β· [databases, data-visualization]
links:none on file
slides:none on file

Compares concrete methods and results: uses pandas.testing.assert_equal and join+indicator for small checks, shows duckdb anti-join and SQL queries running on Parquet delivering dramatic speed and memory wins (5M rows: pandas ~12s, ~700 MB vs duckdb ~0.01s, ~0.12 MB). Demonstrates asof/merge_asof joins for fuzzy temporal alignment, recommends partitioning and preprocessing, cites datacompy, Spark Snowflake BigQuery backends and commercial Datafold’s Data-Diff, and provides runnable notebook examples.

AI-written summary Β· about

  1. 0:00DataFrame diffing intro
  2. 1:58Why diffing matters in pipelines
  3. 3:46DataFrame and diffing concepts
  4. 5:12Challenges in simple comparison
  5. 8:31Misconceptions about equality
  6. 10:18Practical uses of diffing
  7. 11:01Preparing for diffing
  8. 16:24Tools for equality checks
  9. 19:15Finding discrepancies
  10. 21:02Detailed diff reports
  11. 24:35Fuzzy temporal diffing
  12. 29:59Performance comparison
  13. 32:46Key takeaways
  14. 33:36Q&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.