iduedu.route_stops¶
- iduedu.route_stops(graph, route_key)[source]¶
Stop nodes of one route in the order the route calls at them.
- Parameters:
graph – Graph with a
routestable.route_key (
str) – Key of the route.
- Return type:
- Returns:
Rows of
nodes_gdf(a stop visited twice appears twice) withpositionandpartcolumns, asroute_edges()numbers them.- Raises:
ValueError – If the graph has no routes table or its edges no
route_keycolumn.KeyError – If the route is not in the table.