Suppose I have this data frame
id x y
0 a hello
0 b test
1 c hi
2 a hi
3 d bar
I want to concat x and y into a single column like this keeping their ids
id x
0 a
0 b
1 c
2 a
3 d
0 hello
0 test
1 hi
2 hi
3 bar
And how if I want to give a new name for the concat column? (e.g. 'x' to 'xy')