How do I convert date and time into fraction of days format ?
To be clearer, I have a list of timedelta objects like 26 days,0:16:53. Is there any way to convert this into one number that would be the equivalent value of the above in the format of days only ( fraction value). Example 26.XXXX where 'XXXX' is the fraction of a day corresponding to "0:16:53" in the above example. Is there any way to do this ?
Any help is appreciated.
Thanks in advance