You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for i, row in wait_times_by_stop.iterrows():
sid = str(row.stop_id)
full_sid = nameify_stop_id(name, sid)
# TODO: Join tables before hand to make
# this part go faster
id_mask = (feed.stops.stop_id == sid)
stop_data_head = feed.stops[id_mask].head(1)
This operation is performed twice during the final steps of graph generation. It's expensive and slow. Need to replace with a single merge operation whose results are passed to both methods.
The text was updated successfully, but these errors were encountered:
kuanb
changed the title
Refactor populate_graph and generate_cross_feed_edges
Refactor populate_graph and generate_cross_feed_edges
Dec 3, 2017
Per this comment (#4 (comment)):
This operation is performed twice during the final steps of graph generation. It's expensive and slow. Need to replace with a single merge operation whose results are passed to both methods.
The text was updated successfully, but these errors were encountered: