how to change relative delta to float year value 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()