df has two columns name and date(date in any format - string format/datetime format). Currently its in string format.
df
name date
0 john 2019-08-24 05:30:30
1 jude 2020-03-03 21:15:03
if date is less than 10 days from current time, add a new column(output) false to it and true otherwise.
Expected Output
name date output
0 john 2019-08-24 05:30:30 False
1 jude 2020-03-03 21:15:03 True