The data frame is below.
| ID | FIRST_NAME| LAST_NAME| MOBILE_NUMBER | DIRECT_NUMBER|
| ---|-----------------------------------------------------|
| 1 | Richard | dietzen | +18708007709 | not available |
| 2 | William |macdonald | not available | +15611784776 |
| 3 | Richard | Dietzen | +18708007709 | not available |
| 4 | dale | Sowders | +16162900340 | not available |
| 5 | dale | Sowders | +18708007709 | not available |
the tuple of index of data frame:
|(1, 3)|
|(4, 5)|
expected data frame;
| ID_1 | FIRST_NAME_1 |...... | DIRECT_NUMBER_1| ID_2 | FIRST_NAME_2|......| DIRECT_NUMBER_2|
| --- |------------------------------------------------------------------------------------|
| 1 | richard | ......| not available | 3 | richard |......| not available |
| 4 | dale | ......| not available | 5 | dale |......| not available |
the output should be a data frame like above data frame, it should have the index tuple in same row of data frame