You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
For getting player's career stats, I notice that there are mistakes with the number.
For career.get_data_frames()[1], I am not too sure what the numbers are displaying; I am assuming it is the regular season career total; however, the number does not match. So I wonder what is acctualy meant or there is bug with it.
For career.get_data_frames()[3], I am pretty sure it is meant to display the postseason career total; however, it is displaying the wrong numbers right now. It looks like it is adding the current postseason career total with the total from the latest postseason.
For example, as displayed nba.com , Nikola Jokić has scored 1869 points in total in the playoffs; however, the API is returning 2213 for it, which is 1869 + 344, and 344 being the total points for his 2023-24 playoffs. And all other stats seem to follow the same pattern.
Thank you.
Code
from nba_api.stats.endpoints import playercareerstats
Nikola Jokić
career = playercareerstats.PlayerCareerStats(player_id='203999')
print(career.get_data_frames()[1])
print(career.get_data_frames()[3])
The text was updated successfully, but these errors were encountered:
NBA API Version
1.7
Issue
Hi there,
For getting player's career stats, I notice that there are mistakes with the number.
For career.get_data_frames()[1], I am not too sure what the numbers are displaying; I am assuming it is the regular season career total; however, the number does not match. So I wonder what is acctualy meant or there is bug with it.
For career.get_data_frames()[3], I am pretty sure it is meant to display the postseason career total; however, it is displaying the wrong numbers right now. It looks like it is adding the current postseason career total with the total from the latest postseason.
For example, as displayed nba.com , Nikola Jokić has scored 1869 points in total in the playoffs; however, the API is returning 2213 for it, which is 1869 + 344, and 344 being the total points for his 2023-24 playoffs. And all other stats seem to follow the same pattern.
Thank you.
Code
from nba_api.stats.endpoints import playercareerstats
Nikola Jokić
career = playercareerstats.PlayerCareerStats(player_id='203999')
print(career.get_data_frames()[1])
print(career.get_data_frames()[3])
The text was updated successfully, but these errors were encountered: