qlib
qlib copied to clipboard
运行 examples/workflow_by_code.py 这个例子时有一些异常提示
❓ Questions and Help
qlib/utils/index_data.py:481: RuntimeWarning: Mean of empty slice
return np.nanmean(self.data)
qlib/utils/index_data.py:481: RuntimeWarning: Mean of empty slice
return np.nanmean(self.data)
会有几百条这样的异常提示
python -m pdb qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
运行官方入门教程的这个例子也有相同的问题
你检查一下你的数据是不是正常
你检查一下你的数据是不是正常
已经清空本地的数据 重新clone代码并运行 依旧报错
same issue on my computer
请问一下大佬们有尝试查这个问题吗
我查了一下 如果当天没有交易 计算ffr时 就会有这个warning 应该是不影响的 只是ternimal一直warning有点难受