1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-06 04:20:57 +08:00

update some little code

This commit is contained in:
bxdd
2021-01-26 17:02:30 +00:00
parent 1b569d371d
commit 3bdd54308b
3 changed files with 25 additions and 22 deletions

View File

@@ -58,7 +58,6 @@ class HighFreqNorm(Processor):
# print("start_call_feature_reshape")
idx = df_features.index.droplevel("datetime").drop_duplicates()
idx.set_names(["instrument", "datetime"], inplace=True)
print(df_values.shape)
feat = df_values[:, [0, 1, 2, 3, 4, 10]].reshape(-1, 6 * 240)
feat_1 = df_values[:, [5, 6, 7, 8, 9, 11]].reshape(-1, 6 * 240)
df_new_features = pd.DataFrame(