
Returns list of draft picks for the years specified Returns official information by game for the years specified Returns scoring lines for years specified Returns win total lines for years specified : optional, list of columns to pull data for nfl. Returns roster information for years and columns specified Returns seasonal data, including various calculated market share statsĪdditional data imports nfl. Returns list of columns available in weekly dataset Will slow down initial load speed ~50% nfl. : converts float64 columns to float32, reducing memory usage by ~30%. Returns weekly data for the years and columns specified import_weekly_data ( years, columns, downcast ) Returns list of columns available in play-by-play dataset : optional, required if nfl.cache_pbp() is called using an alternate path to the default cache nfl. : optional, determines whether to pull pbp data from github repo or local cache generated by nfl.cache_pbp() : optional, converts float64 columns to float32, reducing memory usage by ~30%. : optional, list of columns to pull data for

: required, list of years to pull data for (earliest available is 1999) Returns play-by-play data for the years and columns specified import_pbp_data ( years, columns, downcast = True, cache = False, alt_path = None ) Use the package manager pip to install nfl_data_py. Includes import functions for play-by-play data, weekly data, seasonal data, rosters, win totals, scoring lines, officials, draft picks, draft pick values, schedules, team descriptive info, combine results and id mappings across various sites. Nfl_data_py is a Python library for interacting with NFL data sourced from nflfastR, nfldata, dynastyprocess, and Draft Scout.
