Browse Source

reset index on match6

master
김선중 1 year ago
parent
commit
2e8314f7a8
4 changed files with 1050 additions and 92 deletions
  1. +1049
    -92
      Analysis/0411_unp-left_p-right-uturn/0411_unp-left.ipynb
  2. BIN
      Scripts/__pycache__/generate_signals.cpython-38.pyc
  3. BIN
      Scripts/__pycache__/preprocess_daily.cpython-38.pyc
  4. +1
    -0
      Scripts/preprocess_daily.py

+ 1049
- 92
Analysis/0411_unp-left_p-right-uturn/0411_unp-left.ipynb
File diff suppressed because it is too large
View File


BIN
Scripts/__pycache__/generate_signals.cpython-38.pyc View File


BIN
Scripts/__pycache__/preprocess_daily.cpython-38.pyc View File


+ 1
- 0
Scripts/preprocess_daily.py View File

@ -468,6 +468,7 @@ class DailyPreprocessor():
# display(coord) # display(coord)
cmatches = pd.concat(cmatches) cmatches = pd.concat(cmatches)
self.match6 = pd.concat([self.match5, cmatches, self.coord]).drop_duplicates().sort_values(by=['inter_no', 'node_id', 'phase_no', 'ring_type']) self.match6 = pd.concat([self.match5, cmatches, self.coord]).drop_duplicates().sort_values(by=['inter_no', 'node_id', 'phase_no', 'ring_type'])
self.match6 = self.match6.reset_index(drop=True)
# self.match6.to_csv(os.path.join(self.path_intermediates, 'match6.csv')) # self.match6.to_csv(os.path.join(self.path_intermediates, 'match6.csv'))

Loading…
Cancel
Save