modelhub.Aggregate.session_duration

session_duration​

(data, groupby=NotSet.token, exclude_bounces=True, method='mean')

​[source]

Calculate the duration of sessions.

With default method, it calculates the mean of the session duration over the groupby.

Parameters​

Returns​

series with results.

Return type​

bach.series.series_numeric.SeriesInt64