Passing yards measure the total distance gained through a quarterback’s passes. They provide a practical way to compare quarterbacks over a defined period. section 2.8.2
A simple passing-yards analysis follows three steps:
- Input: read the NFL offensive statistics CSV file. section 2.8.2
- Process: keep players whose position is QB and sum their passing-yard totals. section 2.8.2
- Output: sort quarterbacks by total passing yards in descending order. section 2.8.2
Example ranking
A resulting ranking lists Patrick Mahomes with 16,132 passing yards, Tom Brady with 15,876, Aaron Rodgers with 13,852, Josh Allen with 13,758, and Derek Carr with 13,271.
