Pandas
Master Python's data-analysis library — Series and DataFrames, selecting and filtering, cleaning messy data, groupby and merge, time series, and real analysis workflows.
Your progress
0 / 28 chapters
0%
01
Foundations
Series, DataFrames, loading data and the first look at any dataset.
- 8mWhy PandasWhat pandas is, the problems it solves, and where it fits in the data stack.
- 8mThe SeriesA labelled 1-D column — the building block of every DataFrame.
- 9mThe DataFrameA labelled 2-D table — the object you will use 95% of the time.
- 9mLoading DataRead from CSV, Excel and JSON — and write results back out.
- 8mInspecting DataThe first five commands you run on any new dataset.
02
Selecting & Filtering
Pick columns and rows, use loc/iloc, sort, and add or drop data.
- 8mSelecting ColumnsPick one or many columns, and create new ones.
- 10mFiltering RowsKeep the rows that match a condition — the heart of pandas.
- 9mloc & ilocSelect rows and columns together — by label (loc) or position (iloc).
- 7mSortingOrder rows by one or more columns, and grab the top/bottom N.
- 8mAdding & DroppingCreate derived columns, drop columns and rows, and chain with assign.
03
Cleaning & Transforming
Handle missing data, fix dtypes, clean text, and transform values.
- 10mMissing DataFind, drop and fill NaN — where analyses are won or lost.
- 9mFixing Data TypesConvert columns to the right dtype — numbers, dates and categories.
- 8mString MethodsClean and extract text with the vectorised .str accessor.
- 9mapply, map & whereTransform values with vectorised ops, np.where, map and apply.
- 7mRenaming & ReplacingTidy up column names and values with rename and replace.
04
Aggregation & Combining
GroupBy, multi-summary agg, merge, concat and pivot tables.
- 10mGroupBySplit-apply-combine — summarise data by category.
- 8mAggregation with aggCompute several named summaries at once with agg.
- 10mMerging & JoiningCombine DataFrames on a key — exactly like SQL joins.
- 7mConcatenatingStack DataFrames vertically or glue them side by side.
- 8mPivot TablesReshape long data into a grid — like an Excel pivot.
05
Time Series & Advanced
Dates, resampling, rolling windows, MultiIndex and categoricals.
- 9mWorking with DatesParse dates, use the .dt accessor, and index by time.
- 8mResamplingChange the frequency of a time series — daily to monthly and back.
- 9mRolling & Window FunctionsMoving averages, cumulative sums and period-over-period change.
- 9mMultiIndexHierarchical row/column labels for higher-dimensional tables.
- 7mCategorical DataThe category dtype for memory savings and ordered categories.
06
Applied Pandas
Quick plotting, performance habits, and efficient file formats.
