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

Get dummies

Click the buttons to perform One-Hot Encoding of the 'species' column:

Items to click

  • pd
  • (
  • )
  • get_dummies
  • df
  • .

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