Skip to content

Course

Python Data Work with pandas

pandas for working engineers — indexing mental models, joins, groupby, time series, memory discipline, and knowing when SQL or polars is the better tool.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

DataFrame Mental Model

Indexes, labels, dtypes, and mutation rules that prevent silent data corruption.

  1. 01Indexes, Labels, and the Alignment TrapWhy pandas aligns on index labels instead of positions, when that saves you, and when it quietly fabricates NaNs.22mOpen
  2. 02Selecting and Mutating Without SettingWithCopy SurprisesThe real rules behind loc, boolean masks, copies versus views, chained assignment, and mutation that stays predictable.24mOpen
  3. 03Dtypes, Missing Values, and the Cost of Object ColumnsWhy dtype is a semantic contract, what object columns hide, and how nullable types change missing-data handling.21mOpen

Combining and Aggregating

Joins, groupby, reshaping, and time series without production surprises.

  1. 01Joins That Don't Multiply Your RowsMerge cardinality, key dtypes, duplicate keys, validation, and the join diagnostics that prevent silent fanout.25mOpen
  2. 02groupby, transform, and Aggregations That Stay ReadableSplit-apply-combine as a mental model, choosing agg/transform/apply correctly, and reshaping only when the output demands it.24mOpen
  3. 03Time Series Without the Timezone HangoverDatetime parsing, timezone policy, resampling semantics, ordering, deduplication, and the edge cases that corrupt metrics.26mOpen

Production Data Work

Memory, performance, chunked pipelines, and when to escape pandas.

  1. 01Shrinking Memory Before You Buy a Bigger BoxHow pandas actually uses memory, dtype downgrades, categoricals, column pruning, sparse data, and measuring before optimizing.23mOpen
  2. 02Profiling pandas: Copies, Vectorization, and ChunkingA practical performance workflow: measure the operation, remove Python loops, control copies, and chunk when data no longer fits the batch model.25mOpen
  3. 03When to Escape to SQL or polarsHow to choose pandas, SQL, or polars based on data location, memory model, execution semantics, and team operability.27mOpen