Cheat Sheets¶
Dense, one-page references to keep open while you work. They summarize what the chapters teach in depth. If something on a cheat sheet doesn't make sense, follow it back to its chapter.
Data and math¶
-
Array creation, indexing, broadcasting, reductions, linear algebra, and random numbers.
-
Selection, cleaning, groupby, joins, reshaping, time series, and method chaining.
-
Matplotlib and seaborn recipes, and which chart to use when.
-
Queries, joins, CTEs, and window functions for analysis.
-
Every symbol in the handbook, Greek letters, and the key formulas.
-
Distributions, which test to use, and the essential formulas.
Machine learning¶
-
The estimator API, preprocessing, models, model selection, and pipelines.
-
A decision flowchart and a comparison of every algorithm in the handbook.
-
Every metric, with its formula, when to use it, and its scikit-learn function.
Deep learning¶
-
Tensors, autograd, modules, data loading, and the training loop.
-
Losses, activations, initializations, optimizer defaults, shape cheats, and a debugging checklist.
-
Attention formulas, block anatomy, parameter counting, sampling, fine-tuning, and RAG.
Reference¶
-
Every term in the handbook, defined in one place.