AllenDowney/ElementsOfDataScience

An introduction to data science in Python, for people with no programming experience.

What it solves

Elements of Data Science is a free, interactive introduction to data science for people who have never programmed before. It removes the usual barriers to entry—no need to install software, no assumed knowledge of programming, statistics, or data science—so beginners can start doing real data work quickly.

How it works

The book is written as a series of Jupyter notebooks, which are documents that mix text, Python code, and results. You can read them like a book, but you can also edit and run the code directly in your browser (via Colab or NBViewer) or download them to run locally. Each notebook introduces a small, powerful subset of Python and applies it to real datasets—from counting words in War and Peace to analyzing survey data. The curriculum also includes several case studies that explore topics like political alignment, recidivism risk assessment, Bayes's theorem, and querying astronomical data with SQL.

Who it’s for

It’s designed for absolute beginners with no programming experience and no background in statistics or data science. It’s also useful for anyone who wants a hands-on, browser-based way to learn Python for data analysis without setting up a development environment.

Highlights

  • No installation required—runs in a web browser via Jupyter
  • Assumes zero prior knowledge; every term and feature is explained on first use
  • Includes exercises in every notebook, from quick checks to substantial projects
  • Covers a practical Python subset: variables, loops, dictionaries, plotting, DataFrames, regression, resampling, and hypothesis testing
  • Comes with four real-world case studies (political alignment, recidivism, Bayes, astronomical data)
  • Available as a free sample, pay-what-you-want PDF/EPUB, and a printed full-color edition
  • Licensed under Creative Commons (CC BY-NC-SA 4.0)

Related

  • Project
  • Project
  • Project
  • Project
  • Project