~/talk

The Secret Life Of Rolling Pandas

Talkat PyData Barcelona 2017 · 2017-05-19..05-21· [python]
links:none on file
slides:none on file

Shows how pandas and related libraries implement fast rolling aggregations and what actually gets built and why: running sums via cumulative-sum trick for O(1) per window, O(n) sliding-sum updates, inclusion–exclusion for 2D windows, numeric pitfalls that produce negative variances and how Welford's online algorithm fixes them, min/max via a deque (monotonic queue), and median via a randomized skiplist-like structure with average-case guarantees. Mentions bottleneck → pandas code, memory vs speed tradeoffs, and which approaches fail or succeed in practice.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24Study rolling pandas
  3. 3:10Open-source call
  4. 3:32What rolling pandas are
  5. 5:24Climate data aggregations
  6. 8:44Rolling window mechanics
  7. 12:58Efficient rolling sum
  8. 16:17Inclusion-exclusion principle
  9. 18:52Rolling variance without errors
  10. 22:03Welford’s algorithm
  11. 23:10Rolling minimum and maximum with dequeues
  12. 26:04Rolling median variants
  13. 30:04Q&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.