Python summing up time - In this link, the answers are long coded and also using a small list of time values. However, I would like to learn a pythonic way to sum the time values in a data-frame but i can't seem to figure out yet. Can someone enlighten me? please. By the way, I am using Python3.7 on a Jupyter Notebook. Thanks!
Below are the steps i have performed before trying summarizing:
code i tried to get the difference
Note:
'difference' is non-null object
'in' is non-null datetime64[ns]
'out' is non-null datetime64[ns]
Here is how the input data looks:
And here is how I would want the output: