pandas.Timedelta.total_seconds # 时间增量。总秒数( ) # 持续时间的总秒数。 例子 >>> td = pd.Timedelta('1min') >>> td Timedelta('0 days 00:01:00') >>> td.total_seconds() 60.0