runpandas.types.acessors.session._SessionAcessor.gradient#

_SessionAcessor.gradient(to_special_column=True, **kwargs)#

Compute the gradient ratio over all the activities.

Parameters
  • to_special_column (convert the distance calculated (pandas.Series)) – to special runpandas Gradient column (runpandas.types.columns.Gradient). Default is True.

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

Returns

`runpandas.Activity`

Return type

The runpandas.Activity with the new column gradient computed.