All our Data Science projects include bite-sized activities to test your knowledge and practice in an environment with constant feedback.
All our activities include solutions with explanations on how they work and why we chose them.
Find all the pokemons with an Attack
value greater than 150
and enter the quantity:
Use filtering to select those "slow" Pokemons with a Speed value of 10
or less. Store your results in the variable slow_pokemons_df
.
The Sp. Def
value indicates the defense power of a pokemon against Special abilities. How many pokemons have a value of 25
or less?
Select only pokemons that are Legendary and store the result in the variable legendary_df
.
Take a look at the scatterplot that correlates pokemons Attack and Defense. What's the Name
of the pokemon that is a clear outlier (strong Defense
, but very low Attack
).
How many pokemons are of Type 1
Fire and Type 2
Flying?
How many pokemons exist that are of type Poison
in either Type 1
or Type 2
?
Enter its name below....
What's the most common Type 1
for legendary pokemons? Enter it below.
Find the pokemon most powerful pokemon (by Total
) from the first 3 generations that is of type Water
. Enter its name below.
Find the most powerful pokemon (by Total
) that is of type Dragon (either Type 1
or Type 2
) and from the last two generations. Enter its name below.
Select all pokemons that have an Attack
value above 100
and Type 1
equals to Fire
(ignore Type 2
in this activity).
Select those pokemons that are of Type 1
Water and Type 2
Flying. Store the selection in the variable water_flying_df
.
Perform a selection in your Dataframe of all the Legendary pokemons that are of Type 1
Fire. But select only the columns Name
, Attack
and Generation
. Store the results in a variable legendary_fire_df
.
Take a look at the distribution of Pokemon's speed in the histogram included in the notebook. The red lines separate the slowest (bottom 5%) and fastest (top 5%) pokemons.
Select those pokemons that are either very slow (with Speed
below the bottom 5%) or very fast (Speed
above top 95%).
Store your results in the variable slow_fast_df
.
Take a look at the scatter plot correlating Defense to Attack. What's the Name
of the pokemon indicated by the red arrow in the image below?