extract_path_legs¶
- passengersim.summaries.pathlegs.extract_path_legs(sim: Simulation) pd.DataFrame[source]¶
Extract path_legs from a Simulation.
This is a table that indicates which legs are included in each path.
- Parameters:
- sim : Simulation¶
The Simulation object from which to extract the data.
- Returns:
pd.DataFrame – A DataFrame with columns “path_id”, “leg_id”, and “path_seq”.