Editor

The Three Fastest Runners

Data questions · Intermediate · about 7 min

race_100m.csv has each runner's name, house and 100 meter time in seconds. Set answer to a list of the names of the three fastest runners (the smallest times), fastest first, like ["Name1", "Name2", "Name3"]. No two runners have the same time.

Example

The first lines of race_100m.csv:

name,house,seconds
Arjun,Red,14.2
Bea,Blue,13.6
race_100m.csv · 16 rows
namehouseseconds
ArjunRed14.2
BeaBlue13.6
CalebGreen15.1
DiyaYellow13.1
EricRed14.8
FreyaBlue12.9
GautamGreen13.4
HollyYellow15.6

First 8 of 16 rows.

import pandas as pd
df = pd.read_csv("race_100m.csv")
answer = None
The solution opens after your first Check.