I have performed a simple calculation between two dates, and the return shows an output of "1 Days", or "2 Days" etc...
df['Days'] = df['date1'] - df['date2']
returns:
'1 Days'
'2 Days'
I'm not sure how to manipulate this? So if I wanted to filter the dataframe to return rows for less than 5 days? Would I convert unit into seconds/Hours and then of course I could filter, but how could I just filter according to '1 Days' output?