mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-14 08:16:54 +08:00
update dataset test
This commit is contained in:
@@ -66,7 +66,7 @@ class TestDataset(TestAutoData):
|
|||||||
# Check the data
|
# Check the data
|
||||||
# Get data from DataFrame Directly
|
# Get data from DataFrame Directly
|
||||||
data_from_df = (
|
data_from_df = (
|
||||||
tsdh._handler.fetch(data_key=DataHandlerLP.DK_L)
|
tsdh.handler.fetch(data_key=DataHandlerLP.DK_L)
|
||||||
.loc(axis=0)["2015-01-01":"2016-12-31", "SZ300315"]
|
.loc(axis=0)["2015-01-01":"2016-12-31", "SZ300315"]
|
||||||
.iloc[-30:]
|
.iloc[-30:]
|
||||||
.values
|
.values
|
||||||
|
|||||||
Reference in New Issue
Block a user