I have table like following:
Locaiton Val1 Val2
L1 1 2
L1 0 5
L1 4 1
L1 7 8
L2 1 3
L2 6 1
L2 2 11
L2 0 2
L2 6 3
L2 8 4
L2 1 1
I want to convert it like following: Location Val1 Val2
Location Val1 Val2
L1 1,0,4,7,1,6 2,5,1,8,3,1
L2 2,0,6,7,1 11,2,3,4,1