I\'m looking to apply a function that looks for changes in values pairs between two columns. However i\'m unsure how to compare the data in a way that I return a specific va