I have Panda dataframe df of following structure, Start and End Time are string values.
Start Time End Time
0 2007-07-24 22:00:00 2007-07-25 07:16:53
1 2007-07-25 07:16:55 2007-07-25 08:52:19
2 2007-07-25 09:45:53 2007-07-25 10:30:00
3 2007-07-25 12:32:00 2007-07-25 14:13:38
4 2007-07-25 22:59:00 2007-07-26 13:43:00
1- How to find the difference in Hours and Minutes between End Time and Start
2- Query the dataframe to filter all rows having time less than 1 hour and 30 minutes
3- Filter all rows having time difference between 20 minutes and 40 minutes