Educational Cards

Learn from video content, text, and interactive tasks

Filters
Clear
Reductions, statistics, and views vs copies

The real reason to switch is vectorisation : you write whole-array expressions and NumPy does the...

Intermediate Python for Data Science
Broadcasting and boolean masks

Broadcasting is NumPy's rule for combining arrays of different shapes. When the shapes are...

Intermediate Python for Data Science
Parsing rows and the bool('False') trap

Now combine the two ideas: a function that turns one raw row of strings into properly typed values....

Beginner Python for Data Science
Measurement scales and your first function

Everything read from a CSV is a string, so before you can compute you must parse each value into...

Beginner Python for Data Science
Why loops first, and the length pitfall

Every operation here is a Python-level loop that pays a small cost for each element. On three...

Beginner Python for Data Science
Lists as vectors: scaling and the dot product

A column of numbers — prices, scores, temperatures — is a vector , and in plain Python a vector is...

Beginner Python for Data Science
Print, input, and turning text into numbers

Python is the language most data scientists reach for first, and like any language you begin by...

Beginner Python for Data Science
Type hints and a numeric helper

As projects grow, functions become the way you organise them. A function with type hints states its...

Intermediate Python for Data Science
Choosing charts and headless plotting

Four charts do most of the everyday work, and each answers a different question: - a histogram...

Intermediate Python for Data Science
Reading JSON and the many faces of missing

Most web data arrives as JSON , a text format of nested objects and arrays that maps cleanly onto...

Intermediate Python for Data Science
Project paths and feature pipelines

The same instinct produces small utilities that keep a project tidy. A recurring nuisance is file...

Intermediate Python for Data Science
Every metric is an estimate; confidence intervals

Every metric is an estimate from a finite sample, and real decisions hinge on whether a difference...

Advanced Python for Data Science