I have a data frame where one column is species\' names, and the second column is abundance values. Due to the sampling procedure, some species appear more than once (i.e.,
Simple as aggregate:
aggregate
aggregate(df['y'], by=df['x'], sum)