I have a dataframe where there are multiple rows containing a certain value I want to find, but I want to change the last value of the row if the value appears at least once