mobilipy.legs
Functions
|
Builds the legs DataFrame for the given user. |
- mobilipy.legs.get_user_legs(df, user_id, use_multiprocessing=True) pandas.core.frame.DataFrame
Builds the legs DataFrame for the given user.
- Parameters
df (pandas.DataFrame) – waypoints DataFrame
user_id (str) – ID of the user whose legs are to be created
use_multiprocessing (bool, optional) – Specifies whether the multiprocessing package should be used. Defaults to True.
- Returns
pandas.DataFrame – DataFrame of user’s legs