Click in order · Python course · Module 8: Data Science

Grouping in Pandas

Click the buttons to group data by the 'habitat' column:

Items to click

  • )
  • .
  • groupby
  • (
  • df
  • 'habitat'

You can check the correct answer by solving this task in the CodeWorlds game.