I have a dataFrame with two columns, ["StartDate" ,"duration"]
the elements in the StartDate
column are datetime
type, and the duration
are ints.
Something like:
StartDate Duration
08:16:05 20
07:16:01 20
I expect to get:
EndDate
08:16:25
07:16:21
Simply add the seconds to the hour.
I'd being checking some ideas about it like the delta time types and that all those datetimes have the possibilities to add delta times, but so far I can find how to do it with the DataFrames (in a vector fashion, cause It might be possible to iterate over all the rows performing the operation ).
consider this df
You can get the datetime column like this
You get
EDIT: with the sample dataframe that you posted