|
|
@ -50,12 +50,12 @@ class DailyPreprocessor(): |
|
|
|
if self.config_name == 'draft': |
|
|
|
# 모든 컬럼에 대하여 데이터타입 지정 |
|
|
|
loading_dtype = { |
|
|
|
'inter_no':int, 'start_hour':int, 'start_minute':int, 'cycle':int, |
|
|
|
'offset':int, 'node_id':str, 'inter_type':str, 'parent_id':str, |
|
|
|
'child_id':str, 'direction':str, 'condition':str, 'inc_edge_id':str, |
|
|
|
'out_edge_id':str,'end_unix':int, 'inter_name':str, 'inter_lat':float, |
|
|
|
'inter_lon':float,'group_no':int, 'main_phase_no':int, 'phase_no':int, |
|
|
|
'ring_type':str, 'angle_code':str, 'turn_type':str} |
|
|
|
'inter_no':int, 'start_hour':int, 'start_minute':int, 'cycle':int, |
|
|
|
'offset':int, 'node_id':str, 'inter_type':str, 'parent_id':str, |
|
|
|
'child_id':str, 'direction':str, 'condition':str, 'inc_edge_id':str, |
|
|
|
'out_edge_id':str, 'end_unix':int, 'inter_name':str, 'inter_lat':float, |
|
|
|
'inter_lon':float, 'group_no':int, 'main_phase_no':int, 'phase_no':int, |
|
|
|
'ring_type':str, 'angle_code':str, 'turn_type':str} |
|
|
|
for alph in ['A', 'B']: |
|
|
|
for j in range(1,9): |
|
|
|
# loading_dtype[f'angle_{alph}{j}'] = 'str' |
|
|
|