Skip to main content
Albero Academy
All tutorials

Pandas tutorials

Python's data-analysis library — Series & DataFrames, selecting & filtering, cleaning, groupby, merge and pivot tables.

Chapters
16
Total reading
4h 3m
Level
Beginner to Advanced

Chapters

  1. Chapter 1

    Pandas Fundamentals

    The Series and DataFrame, loading data from CSV/Excel, and the first commands you run on any new dataset.
    14 min readStart
  2. Chapter 2

    Selecting & Filtering

    Pick columns and rows, filter with boolean conditions, and use loc & iloc the right way — the most common pandas task.
    15 min readStart
  3. Chapter 3

    Cleaning & Transforming

    Handle missing data, fix dtypes, rename and map values, and create new columns — the real work of any analysis.
    16 min readStart
  4. Chapter 4

    GroupBy, Merge & Aggregation

    Summarise by category with groupby, combine datasets with merge, and reshape with pivot tables — the analyst's power tools.
    16 min readStart
  5. Chapter 5

    Advanced Merging & Joining

    Master every join type, merge on the index, validate relationships, and combine many tables safely without silently duplicating rows.
    16 min readStart
  6. Chapter 6

    Reshaping: Pivot, Melt & Stack

    Move between wide and long layouts — melt, pivot, stack and unstack — and understand the tidy-data shape your tools expect.
    15 min readStart
  7. Chapter 7

    Time Series & Dates

    Work with dates as a first-class index — parse and generate dates, resample to new frequencies, and compute rolling trends.
    16 min readStart
  8. Chapter 8

    Text & String Methods

    Clean and extract from messy text columns with the vectorised .str accessor and regular expressions.
    15 min readStart
  9. Chapter 9

    Categorical Data & Memory

    Shrink memory and gain speed with the category dtype, order categories meaningfully, and choose efficient types for large data.
    14 min readStart
  10. Chapter 10

    Advanced GroupBy

    Go beyond simple aggregation — transform to broadcast group stats back, filter whole groups, and apply custom per-group logic.
    16 min readStart
  11. Chapter 11

    Window Functions

    Compute rolling, expanding and exponentially-weighted statistics, and compare rows to their neighbours with shift, diff and ranking.
    15 min readStart
  12. Chapter 12

    MultiIndex & Hierarchical Data

    Work with multi-level row and column indexes — build them, select across levels, and flatten back to plain columns.
    15 min readStart
  13. Chapter 13

    The pandas Idiom: Method Chaining

    Write clean, readable pipelines with assign, query and pipe — and avoid the SettingWithCopyWarning for good.
    15 min readStart
  14. Chapter 14

    Plotting with pandas

    Turn DataFrames into charts directly with .plot — line, bar, histogram and scatter — for fast exploratory visuals.
    14 min readStart
  15. Chapter 15

    Performance & Scaling

    Make pandas fast and fit big data in memory — vectorise instead of looping, read in chunks, and know when to reach past pandas.
    15 min readStart
  16. Chapter 16

    End-to-End Analysis

    Put it all together — a complete workflow from raw CSV to insight, following the habits that make analyses correct and reproducible.
    16 min readStart