I have the following data set
id type value
0 1 A 10
1 1 C 120
2 2 B 20
3 2 C 40
4 3 A 10
5 3 B 50
I want in python to transform it to be like (1,A,10,C,120) (2,B,20,C,40) (3,A,10,B,50)
Any suggestion would be much appreciated