I have the following data that has been sorted:
Id Items
1 a,b
1 c
2 c
3 a,c
3 d
3 e
I would like to reformat into the following format:
Id Items1 Items2 Items3
1 a,b c
2 c
3 a,c d e
Can I use reshape
to do this? If yes, how?