mirror of
https://github.com/newnius/YAO-optimizer.git
synced 2025-12-13 00:16:44 +00:00
update
This commit is contained in:
2
serve.py
2
serve.py
@@ -212,7 +212,7 @@ class MyHandler(BaseHTTPRequestHandler):
|
||||
with open(config.train_data_path, 'r') as f:
|
||||
q = deque(f, config.time_step - 1)
|
||||
df = pd.read_csv(StringIO(''.join(q)), usecols=config.feature_and_label_columns)
|
||||
|
||||
print(df)
|
||||
df.append(data, ignore_index=True)
|
||||
df.to_csv('./data/test_data.csv')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user