Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Drop columns | Create the strongest Pokemon
Create the strongest Pokemon
course content

Course Content

Create the strongest Pokemon

book
Drop columns

Task

Swipe to start coding

  1. Initialize the data frame named df_add that will contain 'HP' and 'Attack' columns. We will use this data frame later.
  2. Initialize array of values named y of the 'Total' column of df data frame.
  3. Drop '#', 'Name', 'Defense', 'HP', 'Attack', 'Sp. Atk', 'Sp. Def', 'Speed', 'Total' columns

Solution

Mark tasks as Completed
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 1
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt