ComeçarComece de graça

Flipping players

Congratulations! You got the data scientist job! In your first project, you will work with the fifa_players dataset. It contains data of the players included in the last version of the video game. Before you start to do any analysis, you need to clean and format your dataset.

As a first step, you need to explore your dataset and reshape it using basic steps, such as setting different indices, filtering columns and flipping the DataFrame. You would like to see if that is enough for further analysis.

The fifa_players dataset is available for you. The pandas module will be preloaded as pd in your session throughout all the exercises of the course.

Este exercício faz parte do curso

Reshaping Data with pandas

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Set name as index
fifa_transpose = fifa_players.____(____)

# Print fifa_transpose
print(fifa_transpose)
Editar e executar o código