1
I have a date frame with two columns in date format and I need to compare if one of them is between the interval of one day more or less than another column. For example: Column A = 2015-03-02 Column B = 2015-03-01 Comparison: If Column A == Column B: Return Column A within range Elif (column B - 1) == column A: Return Column within range Elif (column B + 1) == column A: Return Column A within range Else: Return Column A OUT of ACCEPTED range'