I am facing this simple issue in the following code:
df['Diff'] = df['updated'] - df['created']
the date diff returns a negative number of days when condition meets (for example) the case below:
df['updated'] == "2020-04-01" and "df['created'] == "2020-03-21"
Is there a way (that I can probably miss as I am new at python) other than build a def to apply on a specific columns to return the correct number of days and not "-20" which is the basic result between updated and created?
Many thanks