I am using .map to replace values that fall into interval into a dataframe. I am not sure if it is because I am using the .map function or because I am copying on a copy of the