I got a timedelta object from the subtraction of two datetimes. I need this value as floating point for further calculations. All that I\'ve found enables the calculation wi
You could use the total_seconds method:
time_d_float = time_d.total_seconds()