Educational Cards

Learn from video content, text, and interactive tasks

Filters
Clear
Counting and accumulating per key

Most analytics questions have the same shape: split the rows into groups by some key, then reduce...

Intermediate Python for Data Science
Ranking, ties, and toward groupby

You usually want the result ranked . Sorting by a tuple key gives multi-level ordering, and a...

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
Transpose and the ragged-row pitfalls

A close cousin of column iteration is the transpose , which turns rows into columns by swapping the...

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
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
Matrices: indexing, row and column sums

Real data is usually two-dimensional: a grid of rows and columns. A spreadsheet, a feature table, a...

Beginner 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
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
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
Creating, slicing, and selecting arrays

Everything you did with lists and nested loops now collapses into one fast, typed object: the NumPy...

Intermediate Python for Data Science