CommencerCommencer gratuitement

Don't dump the bird

You want to read the birds data into a DataFrame like you did in the previous exercise, but this time, you would like to try a different approach.

You would like to have a code that you can reuse in this situations, so you want to establish the fastest strategy to convert it into a usable DataFrame. You think that working with the json format could speed up the process.

The birds DataFrame is available for you.

Cet exercice fait partie du cours

Reshaping Data with pandas

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Apply json.loads to the bird_facts column and transform it to a list
birds_facts = ____[____].____(____).____

# Print birds_facts
print(birds_facts)
Modifier et exécuter le code