Skip to content
New issue

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

Wrong stats for NBA home teams #539

Open
jernej19 opened this issue Nov 16, 2020 · 2 comments
Open

Wrong stats for NBA home teams #539

jernej19 opened this issue Nov 16, 2020 · 2 comments

Comments

@jernej19
Copy link

When calling game.dataframe_extended for Schedule module, home stats are incorrect. All stats which are not in percentage are wrong. For example matchId 201810190MEM where correct field goal attempts is 81, I got 25. The same goes for every other home statistic.

@jiwoongim
Copy link

jiwoongim commented Nov 25, 2020

I also notice the same thing.
https://www.basketball-reference.com/boxscores/202010020LAL.html

202010020LAL game score is 124:114
But the API returns 56 for home team.

boxscore_obj = nba_boxscore.Boxscore(gamecode)
(Pdb) boxscore_obj.__getattribute__('home_points')
56

Sidenote: I haven't checked whether the boxscore for players is correct or not either. Given that home team stats are wrong, I am worried that player boxscore stats might be wrong too?

@andrewduffey
Copy link

andrewduffey commented Dec 7, 2020

It looks like this is fixed on the master branch and will be in the next release, see #505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants