~/talk

Solving Two Hard Problems in Computer Science Using Pandas

Talkat PyCon Italia 2024 · 2024-05-22..05-25· [data-engineering, python]
slides:none on file

Shows how Pandas solves three practical headaches: restructure raw CSVs by splitting the concatenated device+parameter field into a normalized schema grouped by device type so each sensor yields fixed columns, handle extremely wide inputs (some PV sites had 8,000–10,000 columns) by per-device tables, and fix off-by-one billing errors for 15‑minute energy samples by aggregating with Period/PeriodIndex (use period ranges so a 23:45 reading belongs to the previous day). Includes Graphviz-based name analysis and a working refactor that made code smaller and correct.

AI-written summary · about

  1. 0:00Introduction
  2. 3:19Wind turbine data format
  3. 5:46PV plant data challenges
  4. 7:14Cache invalidation problem
  5. 10:47Naming conventions in data
  6. 15:44Off-by-one errors in timestamps
  7. 18:16Using periods in pandas
  8. 22:10Conclusion and Q&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.