I have a big dataset. There are 25,500 rows within two columns in the dataset. First Column is species name and the second column is altitude(m). It is part of the dataset
. .
As you see, every species usually has multiple altitudes. So species names are repeated in several rows. I want to average altitudes for every species (unique species names) and get an output like the one below What should I do? enter image description here