1
0
mirror of https://github.com/newnius/YAO-optimizer.git synced 2025-12-15 17:06:44 +00:00
This commit is contained in:
2020-05-02 18:04:24 +08:00
parent 8788605353
commit c36fa48b9f
2 changed files with 5 additions and 2 deletions

View File

@@ -144,7 +144,10 @@ def predict(job, seq):
df = read_csv('./data/' + job + '.csv', header=0, index_col=0, squeeze=True)
df = df.tail(batch_size * 2 - 1)
df = df.append(data, ignore_index=True)
df.loc[df.shape[0]] = {
'seq': seq,
'value': 0,
}
print(df[0].shape)