mobilipy.poi_detection

Functions

assign_cell

Create a new Mock object.

detect_home_work(legs, waypoints[, cell_size])

Detects home and work locations, tags them with 'Home' or 'Work' in the df

mobilipy.poi_detection.detect_home_work(legs, waypoints, cell_size=0.2)

Detects home and work locations, tags them with ‘Home’ or ‘Work’ in the df

Parameters
  • legs (pd.DataFrame) – legs DataFrame coming from the legs module

  • waypoints (pandas.DataFrame) – the waypoints DataFrame to be processed