sportsdataverse / sportsdataverse-py

sportsdataverse python package
https://py.sportsdataverse.org
MIT License
70 stars 7 forks source link

error with load_nfl_weekly_rosters #71

Open christophermclement opened 5 months ago

christophermclement commented 5 months ago

sdv.nfl.load_nfl_weekly_rosters(list(range(2002, 2024))) gives an error when it gets to 2015:

ShapeError: unable to vstack, dtypes for column "jersey_number" don't match: str and i32

A look at the values of jersey_number in 2015 doesn't show any weird values.

christophermclement commented 5 months ago

The same issue affects load_nfl_rosters