nfl_data_py icon indicating copy to clipboard operation
nfl_data_py copied to clipboard

Python code for working with NFL play by play data.

Results 34 nfl_data_py issues
Sort by recently updated
recently updated
newest added

### Is there an existing issue for this? - [X] I have searched the existing issues ### Have you installed the latest development version of the package(s) in question? -...

Stemming from https://github.com/cooperdff/nfl_data_py/pull/69#issuecomment-1830037557.

I haven't had this problem before but for some reason I am getting the response "data not available for 2022" from import_pbp function. Running on macOS, python 3.10.13, pandas version...

When attempting to install nfl-data-py for use in my code I'm getting the following output: `Collecting nfl-data-py==0.3.1 Using cached nfl_data_py-0.3.1-py3-none-any.whl Requirement already satisfied: pandas>1 in c:\users\bdub2\appdata\local\programs\python\python312\lib\site-packages (from nfl-data-py==0.3.1) (2.2.1) Collecting...

I noticed that the depth charts data seems to indicate that Desmond Ridder started for the Falcons in week 16 vs. the Colts. However, the Falcons [official website](https://www.atlantafalcons.com/news/falcons-release-depth-chart-heading-into-week-16-of-the-2023-regular-season) has Taylor...

import nfl_data_py as nfl df = nfl.import_injuries([2023]) df['week'].max() Out[9]: 19

I can't pull game lines data from past 2020, looking to pull future data if possible... Input: `if __name__ == "__main__": lines = nfl.import_sc_lines() print(lines.head) ` Output `root@localhost:~# python3 ~/nfl_picks/__init__.py...

data issue

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...

When trying to import weekly rosters I keep running into this error: ``` roster_data = nfl.import_weekly_rosters(years=range(2013, 2024)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/nfl_data_py/__init__.py", line 474, in import_weekly_rosters rosters["age"] = ((roster_dates - rosters.birth_date).dt.days /...

Resolves issue with play_by_play data having incorrect old_game_id values. For example, all old_game_id values in the play_by_play_2023 for week 15 start with "2022" but they begin with "2023" in the...