My dataset looks like this
    Name
83   A
84   A
85   A
97   C
98   C
99   C
131  D
132  D
133  D
and going on with random index.
While the output I want is;
Instance Name RowID1 RowID2 RowID3
1        A    83     84     85
2        C    97     98     99
3        D    131    132    133
**Please note- Names and indexes are random, with no relation between them. How can I do it using Python (Pandas).
 
    