Skip to content

Instantly share code, notes, and snippets.

@douglaspsteen
Created August 23, 2020 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save douglaspsteen/565bae4cda8ad2f6a9e5acd1de5c4315 to your computer and use it in GitHub Desktop.
Save douglaspsteen/565bae4cda8ad2f6a9e5acd1de5c4315 to your computer and use it in GitHub Desktop.
# Create dictionary of results for 'leagues' key
leagues_dict = resp.json()['api']['leagues']
# Visualize df for all English Premier league seasons available
leagues_df = pd.DataFrame.from_dict(leagues_dict)
display(leagues_df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment