Created
May 12, 2021 17:43
-
-
Save pimlock/53745403fcc786f64da99e96dcbc1abb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
with open("2016-olympics-medals.json") as f: | |
data = json.load(f) | |
df = pd.json_normalize(data, record_path="Countries") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment