Getting the Data Ready
Premium
In reality, datasets rarely arrive with clean column names. In this series, we work with marathon race data: a results file with finish times and a separate registration file with runner details. The results file has columns like full_name and dnf that need renaming before anything else. rename() and drop() get us started.