So I have a dataframe from which I'd like to pull out rows that have the same name in column 2. For each set of duplicated rows with the same name, I'd then like to keep only the row with the highest value if it's score is 2 greater than the other duplicates. So in this example, I want to keep row 2 but not row 5. So I have a dataframe from which I'd like to pu