Science track
Data Science
Teach a computer to spot patterns and make good guesses.
Start at step 1. Each idea prepares you for the next one.
- 1Put a value in a named Python box called a variable
- 2Look at a tiny table and identify its rows and columns
- 3Choose the clues (X) and the answer (y)
- 4Clean missing, repeated and impossible values
- 5Explore patterns and unusual records
- 6Split examples into learning and test groups
- 7Teach a simple straight-line model
- 8Teach a model that chooses between two answers
- 9Check honestly how often the model is right or wrong
- 10Explain what the prediction means and where it can fail
- 11Package the finished prediction project
Continue where you left off
Credit scoring: engineer a debt ratio feature
21 questions remaining in this sector
Your datasets, exercises and portfolio outputs stay inside the sector you choose.
Beginner · Python Variables & Lists
3 exercises — finish them all to earn a certificate
3 questions left to earn this certificate
Give a number a name
+20 XPYou are a data scientist in the Finance team. A variable is a labelled box. We put 500 in a box called amount.
Make a list
+20 XPYou are a data scientist in the Finance team. A list holds many values inside square brackets [ ].
How many items?
+20 XPYou are a data scientist in the Finance team. len() counts the items in a list.
Intermediate · Feature Engineering & Seaborn
8 exercises — finish them all to earn a certificate
8 questions left to earn this certificate
Credit scoring: engineer a debt ratio feature
+20 XPYou are a data scientist. Raw income and debt columns barely predict default. Credit risk analysts always reason in ratios, not absolutes.
Add them up
+20 XPYou are a data scientist in the Finance team. sum() adds every number in a list.
Open the table
+20 XPYou are a data scientist in the Finance team. pandas is a tool that opens tables. We call it pd for short.
Intermediate plus 1: Describe the numbers
+20 XPYou are a data scientist in the Finance team, working with payments data. describe() gives count, mean, min, max and more at once.
Intermediate plus 2: Scatter plot with seaborn
+20 XPYou are a data scientist in the Finance team, working with payments data. A scatter plot shows whether two numbers move together.
Intermediate plus 3: Turn words into numbers
+20 XPYou are a data scientist in the Finance team, working with payments data. Models need numbers, so get_dummies makes a 0/1 column per word.
Intermediate plus 4: Distribution with KDE
+20 XPYou are a data scientist in the Finance team, working with payments data. kde=True draws a smooth curve over the histogram.
Intermediate plus 5: Standardise a column
+20 XPYou are a data scientist in the Finance team, working with payments data. z-score = (value − mean) ÷ spread, so columns are comparable.
Advanced · Columns & Mean()
10 exercises — finish them all to earn a certificate
10 questions left to earn this certificate
Grab one column
+20 XPYou are a data scientist in the Finance team. df['region'] picks a single column out of the table.
Find the average
+20 XPYou are a data scientist in the Finance team. .mean() works out the average of a column.
Find the biggest
+20 XPYou are a data scientist in the Finance team. .max() finds the biggest number in a column.
Keep only North
+20 XPYou are a data scientist in the Finance team. A filter keeps rows that pass a yes/no test.
Sort biggest first
+20 XPYou are a data scientist in the Finance team. sort_values lines rows up. ascending=False puts the biggest on top.
Advanced plus 1: Fit a straight-line model
+20 XPYou are a data scientist in the Finance team, working with payments data. LinearRegression learns the best straight line through points.
Advanced plus 2: Correlation heatmap
+20 XPYou are a data scientist in the Finance team, working with payments data. corr() measures how two columns move together (−1 to 1).
Advanced plus 3: Decision tree classifier
+20 XPYou are a data scientist in the Finance team, working with payments data. A decision tree asks yes/no questions to pick a label.
Advanced plus 4: Cluster similar rows
+20 XPYou are a data scientist in the Finance team, working with payments data. KMeans groups rows that are close together — no labels needed.
Advanced plus 5: Plot actual vs predicted
+20 XPYou are a data scientist in the Finance team, working with payments data. Plotting guesses against real values shows how good a model is.