I have a melted data frame. Under the same index, I have "early_date" & "latest_date", which are in "int" dtype. I want to create additional va