We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v1.4.1
TeamDashboardByGeneralSplits seems to be pulling odd data, or filling in data in the wrong fields. IE PPG = Point differential, which should not be.
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
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: