I have the data in this form
Category Age
A 1.3
A 2.6
A 66.4
A 41.3
A 34.5
B 4.34
B 53.2
B 6.23
B 21.33
B 44.23
C 1.3
C 2.6
C 66.4
C 41.3
C 34.5
I want to store the corresponding values of each category in a separate vector. I've 1800 data points, what would be the fastest way to do that?