I have a dataframe of 500 rows sorted as follows:
Col1 Val1
asd 0.27
pqer 0.37
psdf 0.54
I am trying to pair each value of Col1 with another row in Col1 who have higher Val1 to get the following list:
[['asd', 'pqer'], ['asd','psdf'],['pqer','psdf']]
I am not sure how to go about this.