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

Fix models.

This commit is contained in:
lwwang1995
2020-12-06 22:43:52 +08:00
committed by you-n-g
parent 412c9eee2e
commit 8d42092a7e
9 changed files with 45 additions and 48 deletions

View File

@@ -145,7 +145,7 @@ class SignalRecord(RecordTemp):
if not isinstance(raw_label, pd.DataFrame):
index = raw_label.get_index()
raw_label = raw_label.data.loc[index]
raw_label = raw_label.iloc[:,-1:]
raw_label = raw_label.iloc[:, -1:]
self.recorder.save_objects(**{"label.pkl": raw_label})