heartandsole.core.fields.base.ActivityField.laps¶
- property ActivityField.laps¶
A subset of the laps DataFrame for the field.
Looks for any column labels matching the pattern: {field}_{xxx} or {xxx}_{field}.
Examples
>>> records = pd.DataFrame([]) >>> laps = pd.DataFrame({'speed_max': [5.0, 5.5], 'speed_avg': [3.0, 2.9]}) >>> act = Activity(records, laps=laps) >>> act.speed.laps max avg 0 5.0 3.0 1 5.5 2.9
- Type