One Runner, One Row

Premium

Our marathon results file has 55 rows, but only 50 runners competed. Some rows appear more than once, which is common when data passes through multiple systems. An average finish time means nothing if some runners are counted twice. duplicated() finds them, drop_duplicates() removes them.