convert timedelta object to float code example
Example: timedelta to float
# instead, can convert timedelta to float of second
time_d_float = time_d.total_seconds()
# instead, can convert timedelta to float of second
time_d_float = time_d.total_seconds()