runpandas.types.acessors.session._SessionAcessor.distance#

_SessionAcessor.distance(correct_distance=False, to_special_column=True, **kwargs)#

Compute the distance per position and total distance acummulative over all the activities.

Parameters
  • correct_distance (bool, optional) – It computes the distance corrected by the altitude. default is False.

  • to_special_column (bool, optional) – It converts the distance calculated (pandas.Series) to special runpandas distance cummulative column (runpandas.types.columns.DistancePerPosition). Default is True.

  • **kwargs (Keyword args to be passed to the haversine method) –

Returns

`runpandas.Activity` – new columns dist and distpos computed.

Return type

The runpandas.Activity with the