Browse Source

convert back to np.nan

master
김선중 1 year ago
parent
commit
29a2dc8e4b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Scripts/preprocess_daily.py

+ 1
- 1
Scripts/preprocess_daily.py View File

@ -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 == "좌회전시":

Loading…
Cancel
Save