I have a timedelta object e.g: 0 days 00:03:56.571428571 I would like to save it into only time format e.g: 00:03:56 Basically, I want to remove days and miliseconds part from timedelta object.
Also, please note its just a 'Timedelta' object(which is an average of differences of consecutive 'datetime' objects from a pandas data frame) NOT a 'datetime.timedelta'.
Could you please guide me? how can I achieve this output?
Thank you.