d = pokemon.____________(________________________,______________)d.sort("HP mean",__________________).________(________,____________)d = pokemon.group(["Type", "Generation"], np.mean)d.sort("HP mean", descending=True).select("Type", "Generation")4. Find the largest difference of average HP between consecutive generations of Pokemongeneration = pokemon.________(______________,___________)\.sort("Generation",descending=False)________(np.diff(______________._________("HP mean")))generation = pokemon.group("Generation",np.mean) \ .sort("Generation",descending=False)np.max(np.diff(generation.column("HP mean"))) #5. Return an array that contains ratios of legendary to non-legendary pokemons for each generation.t = pokemon._____________(________________,_________________)ratio = t.____________(______________)/t.____________(____________)t = pokemon.pivot("Legendary", "Generation")ratio = t.column("True")/t.column("False")Histogram Practice (Midterm Spring 2017)Galton measured the heights of the members of200 familiesthat each included 1 mother, 1 father,and some varying number of adult sons. The three histograms of heights below depict thedistributions for all mothers, fathers, and adult sons. All bars are 2 inches wide. All bar heights areintegers. The heights of all people in the data set are included in the histograms.