This is my dataframe. I want to calculate in a new column the difference between those two datetime value in minutes.
 Start date           End date  
    11/30/2011 23:58    12/01/2011 0:26
    11/30/2011 23:56    12/01/2011 0:01
    11/30/2011 23:18    11/30/2011 23:36
23:36
I tried and got this:
df['trip_duration] = pd.to_datetime(df['Start date']) - pd.to_datetime(df['End date'])
0 -1 days +23:32:00
1 -1 days +23:55:00
2 -1 days +23:42:00
How do I get the difference in minutes like I mentioned above?
 
     
     
    