I’m working on a project and I need to subtract two date time values to get the number of days. A sample of the data can be seen below:
ALARM_DATE CONT_DATE \
0 2020/06/18 00:00:00+00 2020/06/23 00:00:00+00
1 2020/06/01 00:00:00+00 2020/06/04 00:00:00+00
2 2020/08/10 00:00:00+00 2020/03/01 00:00:00+00
3 2020/03/31 00:00:00+00 2020/04/01 00:00:00+00
4 2020/04/14 00:00:00+00 2020/04/19 00:00:00+00
... ... ...
I tried simply subtracting the values, but obviously that didn’t work. Can anyone please help?