I have a dataframe like
Input is like:
name,age A,1 B,2 C,3 A,11 B,22 C,33
Output is need is:
A,B,C 1,2,3 11,22,33