Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# option 1. dynamically download JSON
# url = ''
# key = 'YOUR-API-KEY'
# data = pd.read_json(url+key, orient='')
# option 2. use JSON already downloaded (replace with your own file path)
df = pd.read_json('../../input/fonts-master.json')
# df.head()
# flatten the JSON hierarchy (easier to handle this way)
df = pd.json_normalize(df['items'])
# df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment