Suppose I have a pandas dataframe with columns 0, 1 and 'Future Connections'. How do I set columns 0 and 1 as one tuple index:
For example this data frame:
0 1 Future Connection
6 840 0.0
4 197 1.0
620 979 0.0
would result to:
0 Future Connection
(6, 840) 0.0
(4, 197) 1.0
(620, 979) 0.0