Hi, I have a file looks like below
Column A Column B
1 2
2 3
1 4
2 5
5 6
It should be converted into
Column A Column B Column C Column D
1 2 5 6
1 2 3
1 4
Challenging part is that I don't know how many columns I would need in the output since the input file is pretty large and do not know how many level there would be in the source.
Can someone please help?