pandas.Timedelta.total_seconds

Timedelta.total_seconds()

Total seconds in the duration.