Question: Question 1 . 4 . Create a DataFrame named legendary _ pokemon, indexed by 'type' and having one column, called 'num _ legendary' , that
Question Create a DataFrame named legendarypokemon, indexed by 'type' and
having one column, called 'numlegendary' that contains the number of legendary
Pokmon of each 'type'. Only include 'type's with at least one legendary Pokmon of
that 'type'.
Hint: You will need to drop and rename columns. Instead of using drop, you may want to
use get with a list containing the name of a single column.
In :
legendarypokemon bpdreadcsvdatapokedexcsvsetindextype
legendarypokemon
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
