pandas.Timedelta.total_seconds

Timedelta.total_seconds()

Total duration of timedelta in seconds (to ns precision).