nflverse / nfl_data_py

Python code for working with NFL play by play data.
MIT License
252 stars 48 forks source link

Update import_weekly_rosters method in __init__.py #80

Open DylanKeyer opened 7 months ago

DylanKeyer commented 7 months ago

Update import_weekly_rosters to check if "age" column was specified by user before computing it for return. NOTE: this will additionally provide a workaround for https://github.com/cooperdff/nfl_data_py/issues/75 for users that do not require "age" in the output, given that column's computation is causing the errors described in that issue.