IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Reshaping Data with pandas

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

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

# Print birds_facts
print(birds_facts)
Modifica ed esegui il codice