I am doind some Data Exploratory Analysis to a dataset with columns with date with this format:
0 2020-02-25 00:29:00
1 2020-02-24 23:50:00
2 2020-02-25 00:31:00
3 2020-02-25 02:03:00
4 2020-02-25 03:51:00
Doing the substraction columnc = column A -column B, I get:
0 0 days 00:51:00
1 0 days 01:05:12.207000
2 0 days 00:50:41.817000
3 0 days 00:23:00
I'd like to transform this column C in minutes, for example but I don't find the way to declare the days in the conversion. I found this topic: How to convert datetime to integer in python but it doesn't include days and I don't have same separators, Is it possible or do I have to change the column A and B somehow?
Thank as usual,
This community is very useful for people who are getting into the topic.