I have a data frame with a list of IDs and other variables like so:
Student_ID Score
6 94
2 63
6 100
7 44
6 97
2 67
I would like to create another data frame that consists of just the Student_ID and average score like this:
Student_ID Avg_Score
2 65
6 97
7 44
The actual data set is much larger, of course.