
Free first chapter
From Raw Data to Reproducible Insights
Read the first chapter in your browser. It's free, with no account and no email needed.
Free to read. No account required.
Data science often looks like a pile of disconnected tools: a bit of Python here, some statistics there, a chart somewhere else. This book connects them into one workflow, so you can take a messy dataset and arrive at an insight that someone else can reproduce.
You begin with the data science workflow, then learn how to acquire and store data and clean and wrangle real-world data. You practise exploratory data analysis and descriptive statistics, learning to interpret what you find rather than just calculate it. Hypothesis testing and experimental reasoning teach you how to judge whether a pattern is real. Visualisation chapters focus on charts that explain, and SQL gives you direct access to analytical data.
Project case studies bring the pieces together, and the final chapter covers reporting, reproducibility and building a portfolio. You finish understanding the full path from raw data to clear, repeatable results, and able to build it yourself.
Work through the chapters in order. The goal is to build a complete workflow rather than isolated techniques.
Use a reproducible Python or R environment with notebook support, versioned datasets, and a place to store project outputs and reports.
Move from data access and cleaning into statistics, visualization, and full project work. Complete the project exercises to build usable portfolio artifacts.
A junior analyst at a mid-size retailer spends two weeks building a churn prediction model. The accuracy looks good. The dashboard is polished. When the VP of marketing asks, "So which customers should we contact this week, and why?" the analyst freezes. The model produces scores, but the analyst never defined what decision the scores were supposed to support. Two weeks of technical work, and the project cannot answer the question that mattered.
This is not a skills problem. It is a workflow problem. The analyst had the tools but skipped the step that makes everything else useful: framing the question before touching the data.
Data science is not a single technique. It is a discipline that connects questions to evidence through data, computation, and communication. Many beginners treat it as synonymous with machine learning or dashboard building. Both are tools within data science, but neither defines it.
A useful definition: data science is the practice of extracting defensible conclusions from data through a structured process of acquisition, cleaning, analysis, and communication. The word defensible matters. Anyone can produce a number. The challenge is producing a number that holds up to scrutiny, that another analyst can reproduce, and that a decision-maker can act on with confidence.
Consider the distance between "our revenue went up 12% last quarter" and "our revenue increased 12% quarter-over-quarter, driven primarily by a 23% increase in the enterprise segment, which we attribute to the revised pricing tier introduced in January; the consumer segment declined 4%, consistent with the seasonal pattern observed in the prior two years." The first statement is a fact. The second is evidence — it identifies the driver, isolates segments, accounts for confounding patterns, and provides enough context for someone to evaluate whether the conclusion is credible. Data science is the practice that turns facts into evidence.
It helps to draw boundaries.
Data science is not ad hoc spreadsheet analysis. Spreadsheets are useful, but a one-off analysis in a spreadsheet with no version control, no documented assumptions, and no reproducibility is not data science. It is a calculation. If you cannot tell someone exactly what steps you followed, what data you used, and what choices you made along the way, you have produced a result but not evidence. The distinction matters because calculations can be wrong in ways that are invisible to the person who made them, and there is no mechanism for anyone else to catch the error.
Data science is not reporting. A weekly sales report summarizes what happened. Data science asks why it happened, whether the pattern will continue, and what action the evidence supports. Reporting describes. Data science investigates. A reporting dashboard that shows last month's revenue by region is valuable, but it does not tell you why the Northeast region underperformed or whether the pattern will reverse next month. Data science starts where reporting stops — at the point where someone needs to make a decision and the existing summaries are not enough.
Data science is not machine learning alone. A trained model is one component of a larger process. Without clean data, a well-framed question, and clear communication of results, even a high-accuracy model produces no value. The model is an engine. Data science is the entire vehicle — the frame, the steering, the navigation system, and the driver who knows where to go.
In practice, data science rests on three pillars:
Most training focuses on the second pillar. This book treats all three as essential.
Evidence production vs. output production. Producing a chart, a table, or a model prediction is output production. Producing a defensible answer to a specific question — with documented data, transparent methods, and honest uncertainty — is evidence production. Data science aims for evidence, not just output.
Consider two analysts asked to evaluate whether a new onboarding flow improves user activation. Analyst A produces a bar chart comparing activation rates before and after the launch and writes "activation improved." Analyst B segments by acquisition channel, controls for a concurrent marketing campaign, reports confidence intervals, and writes "activation improved by 3.2 percentage points (95% CI: 1.1 to 5.3) after controlling for channel mix and the May email campaign; the effect is concentrated in organic signups and is not statistically significant for paid acquisition users." Analyst A produced output. Analyst B produced evidence. The decision-maker can act on B's work.
Every data science project follows a path. The steps may overlap, repeat, or compress, but the path always exists. Skipping stages does not save time. It creates rework, broken trust, and results that cannot survive review.
The workflow has six stages plus a review loop:
The most important step happens before any code runs. Framing means defining:
Free to read. No account required.