For simplicity, lets say I have the following data frame:
name value
a 5
a 3
b 5
c 9
… …
z 12
where values in column name are duplicates or unique and may/may not share the same value, how would it be possible to to find the average value of each letter in regards to duplicates?