mjk2244 / pro-football-reference-web-scraper

Web scraper to retrieve player and team data from Pro Football Reference.
https://mjk2244.github.io/pro-football-reference-web-scraper/
Apache License 2.0
28 stars 19 forks source link

change 'results' column in player_game_log.py #43

Closed mjk2244 closed 1 year ago

mjk2244 commented 1 year ago

The 'results' column when retrieving a player's game log in player_game_log.py currently follows the format of '[result] [team points]-[opposing team points]'. For example, if you were to retrieve Tom Brady's game log from 2022, the results column of the first row would read 'W 19-3'. This format is probably not so useful for data analysis and should be separated into 3 separate columns (result, points_for, points_allowed).