1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-11 14:56:55 +08:00

black format

This commit is contained in:
bxdd
2021-01-25 17:59:48 +00:00
parent ffedb6382f
commit 06dbd02b99
8 changed files with 34 additions and 19 deletions

View File

@@ -62,9 +62,9 @@ class HighFreqNorm(Processor):
feat_1 = df_values[:, [5, 6, 7, 8, 9, 11]].reshape(-1, 6 * 240)
df_new_features = pd.DataFrame(
data=np.concatenate((feat, feat_1), axis=1),
index=idx,
columns=["FEATURE_%d" % i for i in range(12 * 240)],
data=np.concatenate((feat, feat_1), axis=1),
index=idx,
columns=["FEATURE_%d" % i for i in range(12 * 240)],
).sort_index()
return df_new_features
return df_new_features