nflverse / nfl_data_py

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

import_win_totals() years not optional #39

Closed DavidAllyn68 closed 1 year ago

DavidAllyn68 commented 1 year ago

Git ReadMe and PyPl docs say years is optional, but years is required. This is a bit difficult because all years are not in the data, so it's hard to know why 2022 doesn't show.

Suggest making argument years=None and adding the following in the method/lambda: if years is None: years = []

Let me know how I can contribute. --David