I have a Pandas DataFrame which contain 30,000 row that looks something like:
id Value
0 1 Ack
1 1 Ack
2 1 Auth
3 2 Auth
4 2 Auth
5 2 Ack
6 2 Ack
I want to convert this to something that looks like this:
id Value Value1
1 'Ack' 'Ack1'
1 'Ack' 'Ack2
1 'Auth' 'Auth1'
2 'Auth' 'Auth1
2 'Auth' 'Auth2,
2 'Ack' 'Ack1'
2 'Ack' 'Ack2'
How can I solve it using Pandas?