From 29a2dc8e4b00b1a53f4668fc3c174ebb870bdbee Mon Sep 17 00:00:00 2001 From: govin08 Date: Thu, 25 Jul 2024 13:49:10 +0900 Subject: [PATCH] convert back to np.nan --- Scripts/preprocess_daily.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/preprocess_daily.py b/Scripts/preprocess_daily.py index cb2f02587..11b59aad1 100644 --- a/Scripts/preprocess_daily.py +++ b/Scripts/preprocess_daily.py @@ -634,7 +634,7 @@ class DailyPreprocessor(): all_redsigns = (cmatch.move_no==18) & ~ out_true # 보행신호시/좌회전시 진입/진출 엣지id 배정 - cmatch[['inc_edge_id', 'out_edge_id']] = None + cmatch[['inc_edge_id', 'out_edge_id']] = np.nan if condition == "보행신호시": cmatch.loc[pedes_flag, ['inc_edge_id', 'out_edge_id']] = [inc_edge_id, out_edge_id] elif condition == "좌회전시":