Skip to content

pd.IndexSlice[idx_slc]出错时,会提示清理redis的缓存 #235

@pan-cai

Description

@pan-cai

qlib\data\dataset\utils.py

fetch_df_by_index

return df.loc[
pd.IndexSlice[idx_slc],
]

win10系统,
fetch_df_by_index函数中的pd.IndexSlice[idx_slc]出错时,
会提示清理redis的数据;

错误应该和redis没有关系,
此处可能需要兼容一下此处异常。

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions