Privacy note: We capture your IP address to provide customised and focused services. See our Privacy Policy.

Data Science & Statistics with Python — Alpha School

Lesson 20: Capstone: A Data Story

This is the capstone: a complete data story, from a question you care about to a report someone else can read, check and act on. Choose a question and a public dataset — the penguins data, a government statistics release, or a dataset you find on an open data portal — and follow the workflow of this course from start to finish. The question should be specific enough to answer, and the dataset should have enough rows and clear enough documentation to support it. If you are stuck for a question, start from the data: what does it measure, who is missing, and what would a reader want to know?

Work through the stages in order. Write the question in one sentence, and note what you would do differently depending on the answer. Explore the data with pandas: its shape, its missing values, its types. Clean it on a copy, recording every decision. Summarise it — centre, spread and shape — and plot it honestly, with the right chart and labelled axes. Then analyse: build a confidence interval or run a test, fit a regression or a classifier, or cluster the data to find groups. Choose the method that fits your question, not the fanciest one you know.

Telling the Story

Your report should tell a story in five parts: the question and why it matters; the data, including its source, its size, and who is missing; the method, in enough detail to repeat; the findings, with honest figures and intervals, not just p-values; and the limits, including what the data cannot say and what you would do with more time. Include two or three figures that carry the finding, and one table of the key numbers. Write the first paragraph for a non-specialist: the answer, the evidence, and the uncertainty, in plain language.

Be honest about what you found, especially if it is not what you expected. A capstone that reports "no clear difference" with a wide interval is stronger than one that fishes for a significant result. Check your work by group if you can, report the effect size alongside any test, and say plainly where the data ends and your judgement begins. If your data is about people, include the ethics: consent, minimisation, and privacy, as in Lesson 17.

Sharing Your Work

Share the whole project, not just the report: the raw data or its source, the cleaning and analysis script or notebook, run in order from the top, and a short readme explaining how to reproduce your results. That package is the real deliverable — the report is its summary. When you present it, be ready for the hardest question: what would change your mind? If you can answer that, you have done data science properly. Good luck — and show your work.

What Makes a Data Story Memorable

A memorable data story is not the one with the most charts; it is the one with the clearest change in understanding. The reader starts with a question, follows the evidence, and ends knowing something they did not know before — and knowing how sure they can be. The structure that achieves this is simple: a question that matters, data that can answer it, a method that is honest about its limits, and a finding stated plainly. Everything else is support for that arc, and anything that does not serve it should be cut, however interesting it seemed while you were analysing.

Keep that arc in mind as you finish your capstone, and remember that the skills you have built are general. The workflow — question, collect, clean, explore, analyse, communicate — applies to any field you work in next, from medicine to sport to business. The tools will change and the datasets will get bigger, but the discipline of asking a good question, checking the data, and reporting honestly will not. That is the real subject of this course, and it is yours to keep.

Watch & Learn

One video to watch for this unit, from a trusted educator.

Key Terms

Capstone
A final project that brings together everything in a course.
Data story
A report that turns an analysis into a clear narrative: question, data, method, findings, limits.
Open data portal
A website publishing public datasets, often run by a government or university.
Effect size
How big a difference or relationship is, as distinct from whether it is statistically significant.
Reproducibility
Being able to repeat an analysis exactly and get the same result.
Readme
A short file explaining what a project contains and how to run it.

Discussion Questions

  1. Why should you write the question before exploring the data, rather than after?
  2. Your analysis finds 'no clear difference'. Is that a failed capstone? Why?
  3. What is the hardest question someone could ask about your data story, and how would you answer it?

Practice Questions

  1. What five parts should your capstone report have?
  2. Why choose the method that fits your question rather than the fanciest one you know?
  3. What should the first paragraph of your report do?
  4. Why is reporting 'no clear difference' with a wide interval a strong result?
  5. What should you share alongside the report?
Show answers
  1. The question and why it matters; the data, its source, size and who is missing; the method in repeatable detail; the findings with honest figures and intervals; and the limits.
  2. Because the method must answer the question: a simple summary or interval is better than a complex model that does not fit what you are asking.
  3. Give the answer, the evidence and the uncertainty in plain language, for a non-specialist.
  4. Because it is honest about what the data can say — fishing for a significant result instead would be misleading, and a wide interval correctly shows the uncertainty.
  5. The raw data or its source, the cleaning and analysis script or notebook run in order, and a short readme explaining how to reproduce the results.
Keep reading to complete this lesson