Skip to main content

Load NBA Team Boxscore

hoopR.nba.load_nba_team_boxscore(seasons: List[int])#

Load NBA team boxscore data

Example:

nba_df = hoopR.nba.load_nba_team_boxscore(seasons=range(2002,2022))

Args:

seasons (list): Used to define different seasons. 2002 is the earliest available season.

Returns:

pd.DataFrame: Pandas dataframe containing theplayer boxscores available for the requested seasons.

Raises:

ValueError: If season is less than 2002.