In Lab 6 - world cup - you are given a csv file with two columns of values. When reading that file, many solutions I found use csv.DictReader to read each row of the csv file as a dictionary. They go on to use "team" as a key in those dictionaries.
The first row of the csv file reads "team,rating".
My question is, does the csv.DictReader function know to call the first key "team" because that's whats written in the first row of the csv file? I can't see how else it would know what to call that key.