Track 07 · Data Analytics
The Data Analytics track
Dataframes, filtering, missing data, group-by and joins — one transformation at a time.
49 concepts mapped · 7 interactive now · 43 steps · free, no login
01Foundations
2 of 4 liveThe shape of tabular data, and how to select from it.
- 01
DataFrames & filtering
Filtering is not a loop. It is a column of True and False laid over your rows.
intro9 min7 steps0% - 02
Loading data
CSV, Excel and SQL — delimiters, encodings and parse errors.
intro7 min5 steps0% - 03
Dtypes & conversion
upcomingWhy a numeric column arrives as object, and what that costs.
- 04
Indexing: loc vs iloc
upcomingLabels against positions, and the chained-assignment trap.
02Cleaning
1 of 4 liveReal data is wrong before it is useful.
- 05
Missing data & NaN
A gap is a value. Deciding what it means is your job, not pandas'.
core9 min7 steps0% - 06
Duplicates
upcomingFinding them, deciding which to keep, and why joins create them.
- 07
Outliers
upcomingDetecting them, and the difference between wrong and merely extreme.
- 08
String cleaning
upcomingWhitespace, case, and the categorical values that are almost equal.
03Transforming
2 of 4 liveReshaping data into the form the question needs.
- 09
Group-by: split, apply, combine
Three steps, one line of code. Knowing the three is what makes the line predictable.
core10 min7 steps0% - 10
Joins & merges
Matching rows by key is easy. The interesting part is what happens to the rows that do not match.
core10 min6 steps0% - 11
Reshaping: wide vs long
upcomingpivot, melt and stack — the same data in two different shapes.
- 12
apply vs vectorised operations
upcomingWhy apply is a loop in disguise, and what to write instead.
04Time series
0 of 3 liveData where order and interval carry meaning.
- 13
Dates & times
upcomingParsing, the DatetimeIndex, and time zones that ruin aggregates.
- 14
Resampling
upcomingDaily to monthly, and choosing the aggregation that fits the metric.
- 15
Rolling windows
upcomingMoving averages, and the lookahead bias that invalidates a backtest.
05Statistics
1 of 4 liveDescribing a dataset without misleading yourself.
- 16
Descriptive statistics
Mean, median and spread — and when the mean is the wrong summary.
intro8 min6 steps0% - 17
Distributions & histograms
upcomingShape, skew, and why bin width changes the story.
- 18
Correlation
upcomingWhat r measures, what it misses, and Simpson's paradox.
- 19
Sampling & uncertainty
upcomingWhy a difference in two averages may be nothing at all.
06SQL
1 of 5 liveThe same operations, expressed in the database.
- 20
SELECT, WHERE & ORDER BY
The logical order a query runs in, which is not the written order.
intro8 min5 steps0% - 21
Joins in SQL
upcomingThe same inner, left and outer decisions, with different syntax.
- 22
GROUP BY & HAVING
upcomingAggregation, and why WHERE cannot filter on a count.
- 23
Window functions
upcomingAggregate per row without collapsing rows — running totals and ranks.
- 24
CTEs & subqueries
upcomingNaming intermediate results so a long query stays readable.
07Advanced pandas
0 of 5 liveSqueezing memory and speed from pandas at real-world data sizes.
- 25
Categorical dtypes
upcoming10 minStore a column of a few repeated strings as small integers plus a lookup — huge memory savings.
- Convert an object column to categorical with astype('category')
- Understand ordered vs unordered categories
- Speed up groupby by making the key categorical
- 26
Dtype downcasting & memory
upcoming11 minfloat64 wastes 4 bytes when float32 would do — and it adds up on a million rows.
- Profile memory usage with df.memory_usage(deep=True)
- Downcast numerics with pd.to_numeric(downcast=...)
- Convert repeated strings to categorical
- 27
Chunked reading for out-of-memory data
upcoming12 minProcess a 50 GB CSV on a 16 GB machine by reading it in chunks.
- Iterate a CSV with pd.read_csv(chunksize=...)
- Aggregate incrementally without holding the full frame in RAM
- Know when to switch to Dask or DuckDB
- 28
MultiIndex & hierarchical indexing
upcoming11 minOne index made of multiple levels — the natural shape after groupby with several keys.
- Read the result of groupby with two keys
- Slice a MultiIndex with .loc and IndexSlice
- Move levels between index and columns with unstack/stack
- 29
Rolling, expanding & window ops
upcoming11 minAggregates that slide across rows — moving averages and running totals in one call.
- Compute a rolling mean with a defined window
- Understand the min_periods trap at the start of the window
- Use ewm for exponentially weighted stats
08Distributed & columnar
0 of 4 liveWhen one machine isn't enough — or your data doesn't fit in RAM.
- 30
Spark: RDDs & DataFrames
upcoming14 minDistribute work across many machines — the API looks like pandas until it doesn't.
- Understand lazy execution and the query plan
- Distinguish narrow vs wide transformations (shuffle)
- Use partitions to control parallelism
- 31
Dask: parallel pandas
upcoming12 minBigger-than-memory dataframes with a pandas-flavoured API — one machine or a cluster.
- Convert a pandas workflow to Dask with minimal edits
- Understand delayed graphs and when they materialise
- Diagnose stragglers with the Dask dashboard
- 32
Parquet & columnar storage
upcoming11 minStoring by column, not by row — the reason "select two columns from a billion rows" is fast.
- Understand row groups, column chunks, and encoding
- Push filter and column projection down to the reader
- Compare Parquet against CSV and Feather
- 33
Partitioning & data skew
upcoming10 minA groupby on 100 partitions with 99 empty and 1 huge is the classic performance killer.
- Partition data by a high-cardinality key
- Detect skew from a Spark/Dask task duration distribution
- Fix skew with salting or repartitioning
09Time series forecasting
0 of 4 livePredicting the next value from a sequence of past values.
- 34
ARIMA & SARIMA
upcoming13 minAutoregressive, integrated, moving average — the classical statistical forecast.
- Choose (p, d, q) with ACF and PACF plots
- Difference a series to stationarity
- Add seasonality with SARIMA
- 35
Seasonal decomposition (STL)
upcoming10 minSplit a series into trend + seasonal + residual, and stare at what's left.
- Run STL on a monthly series
- Choose additive vs multiplicative decomposition
- Detect anomalies from residual spikes
- 36
Backtesting & walk-forward validation
upcoming12 minTrain on the past, predict the future, and never let tomorrow's data leak into today's model.
- Implement a rolling train/test split
- Recognise lookahead bias in feature engineering
- Report RMSE / MAPE over time, not as a single number
- 37
Exponential smoothing & Holt-Winters
upcoming10 minWeight recent observations more — cheap, robust, sometimes better than ARIMA.
- Choose between simple, double, and triple exponential smoothing
- Fit Holt-Winters with statsmodels
- Compare to a persistence baseline
10ML foundations
0 of 7 liveThe bare minimum of machine learning that a data analyst should know.
- 38
Linear regression
upcoming11 minOne line through the points — the model every ML book starts with.
- Fit with sklearn and interpret coefficients
- Understand the assumptions (linearity, independence, homoscedasticity)
- Diagnose with residual plots
- 39
Logistic regression
upcoming10 minLinear regression through a sigmoid, giving you a probability between 0 and 1.
- Fit a binary classifier and read the coefficients
- Choose a threshold from the ROC curve
- Handle class imbalance with weights
- 40
Feature engineering
upcoming12 minTurning raw columns into features a model can actually learn from.
- One-hot encode categorical variables
- Scale features so distance-based models behave
- Create interaction and polynomial features carefully
- 41
Cross-validation & data leakage
upcoming11 minThe technique that turns a single unreliable score into a reliable one.
- Run k-fold cross-validation with sklearn
- Use stratified folds for imbalanced classes
- Spot leakage from fitting a scaler outside the fold
- 42
Overfitting & regularisation
upcoming11 minWhy a model that memorises the training set performs worse on new data.
- Diagnose overfitting from a train/validation gap
- Apply L1 (Lasso) and L2 (Ridge) penalties
- Understand why early stopping is regularisation
- 43
Decision trees
upcoming10 minRepeatedly split the data on the question that reduces impurity most.
- Fit a tree and read its structure
- Understand gini and entropy as split criteria
- Control depth to avoid overfitting
- 44
Random forests & bagging
upcoming11 minMany random trees, averaged — usually the best model you can fit in five minutes.
- Understand bootstrapping and feature subsetting
- Read feature importances (and know why they can mislead)
- Compare to gradient boosting
11Advanced SQL
0 of 5 liveHow the database plans and executes what you write.
- 45
Query planners & EXPLAIN
upcoming13 minThe database rewrites your query into an execution plan; understanding the plan is the job.
- Read EXPLAIN ANALYZE output
- Distinguish sequential scan, index scan, index-only scan
- Understand nested loop vs hash vs merge join
- 46
B-tree indexes, covering & partial
upcoming12 minThe single most important database tuning tool, and its trade-offs.
- Choose composite index column order
- Understand covering indexes and index-only scans
- Diagnose why an index isn't being used
- 47
Materialized views
upcoming10 minCache the result of an expensive query as a real table you can index.
- Create and refresh a materialized view
- Compare to a plain view and to a cached table
- Understand incremental refresh limitations
- 48
Transactions & isolation levels
upcoming13 minREAD COMMITTED, REPEATABLE READ, SERIALIZABLE — which anomalies each one prevents.
- Distinguish dirty read, non-repeatable read, phantom read
- Choose an isolation level for a real workload
- Recognise serialisation failures and how to retry
- 49
Recursive CTEs
upcoming11 minWalk a hierarchy — org charts, folder trees, ancestor chains — in pure SQL.
- Write a WITH RECURSIVE that terminates
- Understand the anchor and recursive parts
- Detect and prevent infinite recursion on cycles
The full syllabus is listed above in teaching order. Concepts marked upcoming are mapped but not yet built as visualizations. Progress is kept in this browser only.