Solving Two Hard Problems in Computer Science Using Pandas
summary
Shows concrete fixes: store readings by device-type tables to avoid schema churn and make primary key (timestamp, device) explicit; enforce ASCII lowercase identifier names and run Graphviz from dot files to visualize and compress long name hierarchies; treat 15-minute UTC-local stamps as right-bound intervals and shift those midnight entries to the previous day; use Pandas period index (and floor-to-N-hour trick) for interval math, pass a period index between functions and assert matching frequency in tests to catch off-by-one and cache-invalidation errors.
AI-written summary · about
chapters (10)
- 0:00Introduction and welcome
- 1:53Wind turbine data challenges
- 5:33PV plant data complexity
- 8:01Cache invalidation explained
- 10:50Naming things in data
- 13:39Organizing parameter names with graphs
- 16:54Off-by-one errors in timestamps
- 20:32Working with time periods in pandas
- 24:27Testing data frame structures
- 25:35Q&A session
