Data Science Overview

This content was generated with the assistance of AI and should be verified against the official documentation before being relied on in production.

This page holds the conceptual material of the Data Science section: the versions every page targets, how the pages fit together, the reading order and the map from concepts to pages. The general pages (for example What Is Data Science? and The Data Science Workflow) stay at the section level and are linked from the sections below.

Targeted versions

All pages target the following versions. Examples target Python 3.13 or 3.14 and were run on Python 3.13, with the library versions below; the version numbers and links were checked in October 2026.

Component Version Notes

Python

3.13 or 3.14

Examples were run on Python 3.13. NumPy 2.5 needs Python 3.12 or later, and pandas 3.1 and scikit-learn 1.9 need 3.11 or later.

NumPy

2.5

The NumPy 2 line; see NumPy 2 Migration if you come from 1.x code.

pandas

3.1

The pandas 3 line, with the string dtype and copy-on-write as defaults.

scikit-learn

1.9

Estimator API, pipelines, metadata routing and the current model-persistence guidance.

How the pages fit together

The general pages follow the life of a project and are written to be read on their own. The three library sub-sections are reference-style guides that the general pages link to whenever they need detail.

flowchart TD G1[What is data science, workflow, ethics] --> G2[Environment, notebooks, scientific stack] G2 --> G3[Data acquisition, cleaning, EDA, visualisation] G3 --> G4[Statistics, feature engineering, machine learning, evaluation] G4 --> G5[Reproducibility and MLOps basics] G5 --> G6[Choosing tools, ecosystem beyond the core] G2 -.-> N[NumPy sub-section] G3 -.-> P[pandas sub-section] G4 -.-> S[scikit-learn sub-section] N --> P P --> S CS[Cheat sheet] -.-> N CS -.-> P CS -.-> S

Reading order

  1. Read What Is Data Science? and The Data Science Workflow to learn the vocabulary and the phases of a project.

  2. Set up your tools with Setting Up a Data Science Environment and Jupyter Notebooks & JupyterLab.

  3. Learn the array and table foundations in the NumPy and pandas sub-sections, with The Scientific Python Stack as the map of how libraries relate.

  4. Work through acquisition, cleaning, exploration and visualisation, then Statistics Fundamentals.

  5. Move on to Feature Engineering, Machine Learning Fundamentals and Model Evaluation & Validation, using the scikit-learn sub-section for detail.

  6. Finish with ethics, reproducibility and tool choice, and keep the Data Science Cheat Sheet open while you work.

Concept-to-page map

Page What it covers

What Is Data Science?

Definitions, how data science relates to statistics, machine learning, data engineering and business intelligence, roles in a data team and when Python is the right choice.

The Data Science Workflow

The CRISP-DM phases, the import-tidy-transform-visualise-model-communicate loop, framing the question, baselines and deliverables.

Setting Up a Data Science Environment

Choosing between venv with pip, uv and conda or Miniforge, conda-forge channel rules, Anaconda’s terms of service, binary wheels and BLAS.

Jupyter Notebooks & JupyterLab

Servers, kernels and the notebook format, JupyterLab and Notebook 7, registering kernels, magics, hidden-state pitfalls and notebooks under version control.

The Scientific Python Stack

The layers from CPython and BLAS up to pandas, scikit-learn and Jupyter, what each library owns and the minimum-version policy.

Data Sources & File Formats

Reading and writing CSV, JSON, Excel, Parquet and Arrow, SQL databases and other sources, and open datasets.

Data Cleaning & Preparation

Tidy data, missing values, duplicates, type conversion, text and date clean-up, outliers and validation.

Exploratory Data Analysis

Univariate and bivariate summaries, distributions, correlation versus causation, Simpson’s paradox and Anscombe’s quartet.

Data Visualization

Choosing a chart, the Matplotlib Figure and Axes model, seaborn, colour and accessibility.

Statistics Fundamentals

Descriptive statistics, distributions, sampling, confidence intervals, the bootstrap, hypothesis tests, effect sizes and power.

Feature Engineering

Scaling, encoding, binning, dates, text, missing values, feature selection and data leakage.

Machine Learning Fundamentals

The estimator API, regression and classification, hyperparameters, under- and overfitting and the bias-variance trade-off.

Model Evaluation & Validation

Baselines, hold-out and cross-validation, metrics, class imbalance, calibration and nested cross-validation.

Ethics, Privacy & Responsible Data Use

Consent and lawful basis, GDPR principles, anonymisation, sources of bias and fairness checks.

Reproducibility & MLOps Basics

Pinned environments, random seeds, data and pipeline versioning, experiment tracking and model packaging.

Choosing Tools & Learning Path

Decision tables for picking a data frame library, modelling library, plotting library and notebook or script, plus a learning path.

Beyond the Core: Polars, Arrow, DuckDB & Deep Learning

Where Polars, Apache Arrow, DuckDB, Narwhals, Ibis, XGBoost, LightGBM, PyTorch and Keras fit next to the core stack.

Data Science Cheat Sheet

Four one-page summaries, each with a downloadable PDF: the general data science workflow, NumPy, pandas and scikit-learn.