~/talk

Inequality Joins in Pandas with Pyjanitor

Talkat PyData Global 2022 · 2022-12-01..12-03· [python, databases]
links:none on file
slides:none on file

pyjanitor adds a conditional_join to pandas that implements inequality joins via sorting and binary search so the code actually reduces search space instead of doing a Cartesian product. Two implementations exist: a Python non-number version (easy to read but slow and memory-hungry) and a faster number implementation that parallelizes. Examples: 30k-event overlap case drops from ~900M Cartesian comparisons to milliseconds (non-number ~700 ms, number ~17 ms); large tests show seconds vs minutes. Future work: integrate into pandas/pidata table.

AI-written summary · about

  1. 0:00Inequality joins in Pandas
  2. 3:21What joins and inequality
  3. 6:29Pyjanitor's conditional join
  4. 9:19How conditional join works
  5. 15:26Non-numpy implementation
  6. 15:46Numpy range join algorithm
  7. 19:21Region-based range joins
  8. 21:55Performance benchmarks
  9. 25:29Future work and integration
~/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.