Using interpolation to replace values in a dataframe.