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
1.5.0
Continuously getting KeyError: 'resultSet' when I try and pull the data
from nba_api.stats.endpoints import shotchartlineupdetail import json
shot_chart = shotchartlineupdetail.ShotChartLineupDetail( season = 2018-19 )
shot_chart_data = shot_chart.get_data_frames()[0]
print(shot_chart_data.head())
The text was updated successfully, but these errors were encountered:
No branches or pull requests
NBA API Version
1.5.0
Issue
Continuously getting KeyError: 'resultSet' when I try and pull the data
Code
from nba_api.stats.endpoints import shotchartlineupdetail
import json
shot_chart = shotchartlineupdetail.ShotChartLineupDetail(
season = 2018-19
)
Get the shot chart data as a pandas dataframe
shot_chart_data = shot_chart.get_data_frames()[0]
Print the shot chart data
print(shot_chart_data.head())
The text was updated successfully, but these errors were encountered: