A 10-week, 20-lesson beginner curriculum from Microsoft covering core data science topics with Python, quizzes and projects.
AllenDowney/ThinkStats
Jupyter notebooks, data and supplementary material for the third edition of the Think Stats statistics textbook, built around Python and pandas.
- Stars
- 1,284
- Forks
- 204
- Open issues
- 0
- Last commit
- 6 days ago
What is it?
ThinkStats is the companion repository for the third edition of Think Stats, an introductory statistics book that teaches probability and statistics through hands-on Python code. It holds the notebooks, the data files the book uses, and additional examples and figures.
The notebooks come in two versions: one without solutions for students working through exercises, and one with solutions that serve as the source files. The book is also published online as an HTML version built with Jupyter Book, so readers can browse and run the notebooks in a browser. Zip archives of both notebook sets are available for download without cloning the repository.
The repository also includes a tutorial on time series analysis and a Makefile and requirements files for setting up a Conda environment to run the material.
Key features
- 01Notebooks for the third edition of Think Stats, with and without solutions
- 02Data files used throughout the book, stored directly in Git
- 03Browsable online HTML version built with Jupyter Book
- 04Additional examples, figures and a time series analysis tutorial
- 05Conda setup via Makefile and requirements files
Use cases
- Learning statistics hands-on by working through Python notebooks alongside the book
- Checking solutions to exercises in the Think Stats curriculum
- Studying time series analysis with the included tutorial
- Teaching an introductory statistics course with pandas-based examples
Quick start
- 1
Open the book online and run the notebooks in the browser
- 2
Install the packages needed to run the notebooks
pip install -r requirements.txt - 3
Or download the notebooks as a zip file without cloning the repository
Things to know
- The README's setup instructions use a Conda environment via the Makefile, which may take extra effort to set up.
Topics
FAQ
- What is ThinkStats?
- Jupyter notebooks, data and supplementary material for the third edition of the Think Stats statistics textbook, built around Python and pandas. ThinkStats is the companion repository for the third edition of Think Stats, an introductory statistics book that teaches probability and statistics through hands-on Python code. It holds the notebooks, the data files the book uses, and additional examples and figures.
- Is ThinkStats free to use? What license does it have?
- ThinkStats is open source under the MIT license. Check the license terms before using it in commercial products.
- Is ThinkStats still maintained?
- Actively maintained. The last commit to ThinkStats was on Oct 15, 2026.
- What can I use ThinkStats for?
- Learning statistics hands-on by working through Python notebooks alongside the book Checking solutions to exercises in the Think Stats curriculum Studying time series analysis with the included tutorial Teaching an introductory statistics course with pandas-based examples
- How do I install ThinkStats?
- Open the book online and run the notebooks in the browser Install the packages needed to run the notebooks: pip install -r requirements.txt Or download the notebooks as a zip file without cloning the repository
- Where can I get ThinkStats?
- The source code and installation instructions are on GitHub: https://github.com/AllenDowney/ThinkStats
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A 30-day, step-by-step course that teaches the Python programming language from basics to web apps, APIs and data tools.
Python machine learning library built on SciPy and NumPy, offering classification, regression, clustering, and model selection tools under a BSD license.
A 12-week, 26-lesson beginner curriculum on classic machine learning using Scikit-learn, with Python and R lessons and quizzes.
A collection of Jupyter notebook examples and guides showing how to accomplish common tasks with the OpenAI API.
Keras 3 is a deep learning framework that runs on JAX, TensorFlow, PyTorch, or OpenVINO for inference.