|
@@ -2,7 +2,7 @@ import os
|
|
|
import json
|
|
|
|
|
|
|
|
|
-path = "temp_data/data"
|
|
|
+path = "data/temp_data"
|
|
|
|
|
|
L = []
|
|
|
path_list = os.listdir(path)
|
|
@@ -13,5 +13,5 @@ for file_name in path_list:
|
|
|
for obj in data:
|
|
|
L.append(obj)
|
|
|
|
|
|
-with open("data/hour_train.json", "w") as f:
|
|
|
+with open("data/train_data/hour_train.json", "w") as f:
|
|
|
f.write(json.dumps(L, ensure_ascii=False))
|