From f7f6b7c5076201a87c97b3a86668ffca6518e3c4 Mon Sep 17 00:00:00 2001 From: tiffanychu90 Date: Tue, 7 Jan 2025 00:09:49 +0000 Subject: [PATCH] fix str.cat to use underscores --- gtfs_funnel/stop_times_with_direction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtfs_funnel/stop_times_with_direction.py b/gtfs_funnel/stop_times_with_direction.py index 4ff0383c4..f6205d757 100644 --- a/gtfs_funnel/stop_times_with_direction.py +++ b/gtfs_funnel/stop_times_with_direction.py @@ -154,9 +154,9 @@ def find_prior_subseq_stop_info( gdf2 = gdf[keep_cols].assign( stop_primary_direction = stop_direction, stop_pair = gdf.stop_id.astype(str).str.cat( - gdf.subseq_stop_id.astype(str)), + gdf.subseq_stop_id.astype(str), sep = "__"), stop_pair_name = gdf.stop_name.astype(str).str.cat( - gdf.subseq_stop_name.astype(str)), + gdf.subseq_stop_name.astype(str), sep = "__"), ) stop_times_geom_direction = pd.merge(