1. Learn
  2. /
  3. Courses
  4. /
  5. Reshaping Data with pandas

Exercise

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.

Instructions 1/3

undefined XP
    1
    2
    3
  • Set the index of fifa_players to be the name column and assign it to fifa_transpose.