I have a dataframe called x8, but I want to merge the two Yield columns into a column called x. For "apple", I want the higher yield (0.8) to be choosen. I want th