heartandsole.core.fields.base.ActivityField.summary

property ActivityField.summary

A subset of the summary Series for the field.

Looks for any row labels matching the pattern: {field}_{xxx} or {xxx}_{field}.

Examples

>>> records = pd.DataFrame([])
>>> summary = pd.Series({'speed_max': 5.0, 'speed_avg': 3.0})
>>> act = Activity(records, summary=summary)
>>> act.speed.summary
max    5.0
avg    3.0
dtype: float64
Type

pandas.Series