Courses / Web apps & analytics / Python Data Analytics

Free courseSelf-paced

Python Data Analytics

Clean, join and explore messy tables with NumPy and pandas, then deliver a reproducible analysis notebook.

  • Who it's for. Python programmers who want to turn raw CSV and spreadsheet extracts into checked analytical answers.
  • Before you start. Courses: Python Programming.
  • 40 to 65 hours of study with practice
  • 9 modules, 66 lessons
  • 3 guided projects and a final project

What you'll learn

  • Build a pinned, isolated, documented Python workspace and generate reproducible seeded synthetic data.
  • Create, index, broadcast and reduce NumPy arrays, predicting shapes, views versus copies, dtypes and overflow.
  • Load, select, filter, assign, index, align, sort and rank pandas DataFrames using pandas 3 Copy-on-Write semantics correctly.
  • Convert and validate dtypes (including the str, categorical, datetime and nullable types) and handle missing values with documented strategies.
  • Normalise text, standardise categories, resolve duplicates, flag outliers and encode quality rules as gates with a cleaning log.

Skills you'll gain

  • analysis workspace
  • NumPy arrays
  • operations
  • Pandas tables
  • indexing
  • Data types
  • missing values
  • Cleaning
  • quality checks
  • Joins
  • reshaping
  • Exploratory analysis
  • Reproducible notebooks
  • Analytical project

Tools you'll use

  • Python
  • NumPy
  • pandas
  • matplotlib
  • JupyterLab
  • pytest

Details to know

  • Certificate on completionIssued after your final project is reviewed
  • 9 module checkpointsA quiz and a practical task close each module
  • Self-pacedStudy any time; your progress is saved

How every lesson works

Each lesson follows the same four steps, so you always know what comes next.

  1. 01

    Watch & Learn

    A short animated video explains one idea at a time.

  2. 02

    Guided Practice

    Work through an example step by step and check the result.

  3. 03

    Quiz & Challenge

    Short questions check the idea has landed before you move on.

  4. 04

    Mini Project

    Build something useful from a project brief.

Learn at your own pace

This is a self-paced course. There are no live classes and no fixed timetable.

  • Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
  • Pick up where you left offYour progress is saved to your account.
  • Ask when you're stuckUse Ask Mentor inside the learning platform.

Your path in 4 phases

Each phase ends with something you have built and checked.

  1. 01

    Modules 1 to 3

    Reproducible workspace and typed bakery-sales table

    Covers Python analysis workspace, NumPy arrays and operations and Pandas tables and indexing.

    You build: Guided project: Pinned venv, four-folder layout and a seeded generator producing a synthetic sales CSV with provenance sidecar.

  2. 02

    Modules 4 to 5

    Cleaning pipeline for a messy registrations file

    Covers Data types and missing values and Cleaning and quality checks.

    You build: Guided project: Typed and date-parsed registrations frame with a flagged missing-data strategy.

  3. 03

    Modules 6 to 8

    Joined ticket analysis with exploration and reproducible notebook

    Covers Joins and reshaping, Exploratory analysis and Reproducible notebooks.

    You build: Guided project: Cardinality-checked merges and an unmatched-record reconciliation between tickets and customers.

  4. 04

    Module 9

    Final project and assessment

    Covers Analytical project, then the final project: Auditable data-cleaning and analysis pipeline with published findings.

    You build: Final project, one of: Municipal service-requests pipeline: ingest three synthetic monthly extracts, clean, gate, answer four questions on resolution time by ward and category, report with limitations.

Full curriculum

9 modules and 66 lessons, 40 to 65 hours of study

01Python analysis workspace6 lessons, 4 to 6 hours

Lessons

  • Isolating a project with venv and a pinned requirements file
  • Binding a Jupyter kernel to the project environment
  • Project layout with immutable raw data
  • Why strings from csv.DictReader motivate typed columns
  • Writing a data dictionary before analysis
  • Seeded synthetic data and a provenance record

After this module you can

  • Create a virtual environment, install pandas and numpy, and write a requirements file that reproduces the exact versions on a second machine.
  • Register the project venv as a Jupyter kernel and prove from inside a notebook that sys.executable and the imported pandas version belong to that environment.
  • Generate a reproducible synthetic dataset with numpy.random.default_rng(seed), save it with a metadata sidecar, and show two runs produce identical files.
02NumPy arrays and operations8 lessons, 5 to 7 hours

Lessons

  • ndarray anatomy: shape, ndim, dtype and creation functions
  • Basic slicing returns views, fancy indexing returns copies
  • Boolean masks and np.where for conditional selection
  • Vectorised arithmetic and ufuncs versus Python loops
  • Broadcasting rules for mismatched shapes
  • Axis-wise reductions: sum, mean, min and argmax
  • dtypes, overflow, float comparison and NaN-aware functions
  • Reproducible random sampling with numpy Generator

After this module you can

  • Create arrays with array, zeros, arange and linspace and state the shape, ndim and dtype of each result before printing it.
  • Predict whether modifying a slice changes the original array, and demonstrate the difference between a slice view and an integer-array (fancy) selection.
  • Draw seeded samples with Generator methods and show how sampling with and without replacement changes the outcome.
03Pandas tables and indexing8 lessons, 4 to 7 hours

Lessons

  • Series and DataFrame anatomy: values, index and columns
  • Loading CSVs with read_csv options and a first-look audit
  • Selecting columns and filtering rows with boolean conditions
  • Label versus position with .loc and .iloc
  • Setting values with .loc and Copy-on-Write
  • The index as a key: set_index, reset_index and automatic alignment
  • Sorting and ranking: sort_values, nlargest and rank
  • Derived columns with assign, where and np.select

After this module you can

  • Describe a DataFrame as labelled columns of Series sharing one index, and build both structures from dicts and arrays.
  • Load a CSV with explicit usecols, dtype, parse_dates and na_values, then audit it with info, head, shape and describe.
  • Create new columns with assign, conditional replacement with where, and multi-branch categories with np.select, without chained assignment.
04Data types and missing values8 lessons, 4 to 7 hours

Lessons

  • Reading dtypes and the default str dtype in pandas 3
  • Converting text to numbers with to_numeric and astype
  • Categorical dtype and ordered categories
  • Parsing dates with to_datetime and the .dt accessor
  • Datetime resolution in pandas 3 and safe integer casts
  • NaN, NA and NaT: missing-value sentinels and the equality trap
  • Nullable dtypes and convert_dtypes
  • Missing-data strategies and the missingness question

After this module you can

  • Inspect a frame's dtypes, explain the difference between object and the str dtype that pandas 3 infers for text, and fix code that tests dtype == object.
  • Convert a text column to numbers with to_numeric(errors='coerce'), list the values that failed, and choose between astype and to_numeric.
  • Compare dropna, fillna with a constant, ffill with a limit and interpolate on one series, and justify one strategy using why the data might be missing.
05Cleaning and quality checks7 lessons, 3 to 5 hours

Lessons

  • Normalising text with the .str accessor
  • Standardising categories with mappings and an unmatched report
  • Finding and resolving duplicate rows
  • Flagging outliers with the IQR rule and domain limits
  • Writing validation rules as functions that return failing rows
  • Quality gates that fail loudly
  • A cleaning log that makes every change auditable

After this module you can

  • Standardise whitespace, case and punctuation in a text column using .str methods and verify the number of distinct values drops as expected.
  • Map messy category spellings onto a canonical list with a dictionary, and report the values that no mapping covers.
  • Record each cleaning step's name, rows before and after, columns changed and reason in a log DataFrame saved with the output.
06Joins and reshaping8 lessons, 4 to 6 hours

Lessons

  • Stacking tables with concat and checking column alignment
  • Joining on keys with merge: inner, left, right and outer
  • Key cardinality and the validate= guard
  • Anti-joins and the merge indicator
  • Merge hygiene: key dtypes, suffixes and multi-column keys
  • Group summaries with groupby, named aggregation and transform
  • Reshaping between wide and long with pivot_table and melt
  • Time-based grouping with resample

After this module you can

  • Stack monthly extracts vertically with pd.concat, preserve the origin with keys, and detect column mismatches that create NaN blocks.
  • Choose the correct merge type for a stated question and predict the row count of each result before running it.
  • Aggregate a datetime-indexed series to month-end totals with resample, using the pandas 3 offset aliases, and detect months with no data.
07Exploratory analysis8 lessons, 4 to 6 hours

Lessons

  • From a business question to an analysis plan and first-look profile
  • Distributions: summary statistics, mean versus median and histograms
  • Matplotlib's object-oriented interface: Figure, Axes and savefig
  • Comparing groups: grouped summaries and side-by-side plots
  • Relationships: scatter plots, correlation and its limits
  • Time trends: line charts, rolling means and gaps
  • Chart honesty: axes, ordering, labels and non-colour encodings
  • Reporting findings: claim, evidence, limitation and next step

After this module you can

  • Rewrite a vague request as a specific question with measurable columns, then run a profile (shape, dtypes, missing, nunique, describe) that checks the question is answerable.
  • Describe a numeric column with count, mean, median and quantiles, show the mean and median disagree for a skewed column, and draw a histogram on an Axes.
  • Write a findings summary where each claim cites a specific table or figure, states its sample size and names at least one limitation.
08Reproducible notebooks6 lessons, 3 to 4 hours

Lessons

  • Hidden state and the restart-and-run-all test
  • A parameters cell with paths, seeds and thresholds
  • Moving logic into functions and a module you can import
  • Testing cleaning functions with pytest and assert_frame_equal
  • Recording the run: environment lock, data checksum and run metadata
  • Executing and exporting a notebook headlessly with nbconvert

After this module you can

  • Demonstrate how out-of-order cell execution creates results that cannot be reproduced, and apply Restart Kernel and Run All as the acceptance test.
  • Collect every run-specific value (paths, seed, thresholds, reference date) into one top cell and derive everything else from it.
  • Execute a notebook from the command line, make failures stop the run, and export an executed copy suitable for review.
09Analytical project7 lessons, 3 to 5 hours

Lessons

  • Scoping the project brief and acceptance questions
  • Ingesting and profiling raw extracts with lineage
  • Cleaning stage: rules, gate and change log in sequence
  • Analysis stage: tables, charts and numbers that answer the brief
  • One-command pipeline run and a reproducibility check
  • Held-out check: rerunning on a second extract with injected faults
  • Publishing findings, limitations and a demonstration

After this module you can

  • Write a one-page brief with decision, questions, data sources, success criteria, constraints and an explicit out-of-scope list, then derive testable acceptance checks.
  • Load raw extracts with explicit read options, verify them against the data dictionary, and record row counts and hashes as the first lineage entries.
  • Assemble a report with claims, evidence links, limitations, reproducibility instructions and a live demonstration script a reviewer can follow.

What you'll build

3 guided projects along the way, then a final project.

  • Reproducible workspace and typed bakery-sales table

    after module 3
  • Cleaning pipeline for a messy registrations file

    after module 5
  • Joined ticket analysis with exploration and reproducible notebook

    after module 8

Final project

Auditable data-cleaning and analysis pipeline with published findings. Options: Municipal service-requests pipeline: ingest three synthetic monthly extracts, clean, gate, answer four questions on resolution time by ward and category, report with limitations.

What you submit

Source and artifact submission: repository folder with src module, notebook, tests, requirements.txt, README and generated outputs Functional checks: one command reruns the pipeline end to end and a second run reproduces output table hashes.

How it's reviewed

Trainer-reviewed demonstration, scored on: Reproducibility: fresh-environment rerun succeeds, hashes match (25%) Data-quality evidence: lineage, rules, gate, log and reconciliation (25%).

Where you'll use it

  • Clean a monthly extract with duplicate keys and missing values, and record what was changed and why.
  • Join orders and returns tables and report return rates by product group with completeness flags.

Roles that use these skills

  • Data Analyst
  • Business Analyst
  • Reporting Analyst

Earn the certificate by building, not watching

  1. Complete the lessons and pass each module checkpoint.
  2. Build your final project and demonstrate it.
  3. OUTLEARN reviews your project and issues your certificate. It is not issued automatically.

Frequently asked questions

What do I need before starting?

Completion of the Python course (id py) or demonstrated equivalent: you can write functions, loops, dictionaries, comprehensions and exceptions, read and write files with pathlib, install packages with pip and run a script from a terminal. Basic arithmetic and percentages are enough numerically; no statistics background is assumed, and inferential statistics is left to the Statistics for Data Analysis course.

When do I get a certificate?

We do not issue certificates until you successfully build and demonstrate your live project. Staff issue certificates after review; nothing is issued automatically.

Be first in when Python Data Analytics opens

Email us and we will tell you as soon as enrolment opens.

Notify me when it opens
FreeOpens soon
Notify me