Skip to content

[Bug]: TeamDashboardByGeneralSplits base data is not correct. Seems to be pulling single players stats possibly? #448

@WylieDituri

Description

@WylieDituri

NBA API Version

v1.4.1

Issue

TeamDashboardByGeneralSplits seems to be pulling odd data, or filling in data in the wrong fields. IE PPG = Point differential, which should not be.

Code

import pandas as pd
import requests
from nba_api.stats.endpoints import scoreboardv2
import datetime
from nba_api.stats.endpoints import teamdashboardbygeneralsplits
dallas = '1610612742'
boston = '1610612738'
sb = scoreboardv2.ScoreboardV2(league_id="00", game_date="2024-06-14", day_offset="0").game_header.get_dict()
scoreframe = pd.DataFrame(sb['data'], columns=sb['headers'])
stats= teamdashboardbygeneralsplits.TeamDashboardByGeneralSplits(measure_type_detailed_defense='Base', per_mode_detailed='PerGame', plus_minus='Y', season_type_all_star='Playoffs', team_id=boston).get_dict()
stats

-check stats output

Metadata

Metadata

Assignees

No one assigned

    Labels

    endpoint: third-party issueIssues, unrelated to the library, that exists within the 3rd-party's API service.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions