Skip to main content

timedelta_total_seconds

Function timedelta_total_seconds 

Source
pub fn timedelta_total_seconds(series: &Series) -> Result<Series, FrameError>
Expand description

Convert a timedelta-like Series to total seconds as Float64.

Matches pd.Series.dt.total_seconds(). Works with Timedelta64 scalars or parses timedelta strings and returns the total duration in seconds.