Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qlib日志出现 /www/server/pyporject_evn/versions/3.8.10/lib/python3.8/site-packages/qlib/data/dataset/processor.py:363: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy df[cols] = t #1849

Open
wzcxyz386 opened this issue Sep 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wzcxyz386
Copy link

wzcxyz386 commented Sep 20, 2024

🐛 Bug Description

To Reproduce

Steps to reproduce the behavior:

**求教大神出现这个日志的解决方法。

qlib日志出现 /www/server/pyporject_evn/versions/3.8.10/lib/python3.8/site-packages/qlib/data/dataset/processor.py:363: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy df[cols] = t**

Expected Behavior

Screenshot

Environment

Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.

  • Qlib version: 0.9.5
  • Python version: 3.8.19
  • OS (Windows, Linux, MacOS):Linux
  • Commit number (optional, please provide it if you are using the dev version):

Additional Notes

@wzcxyz386 wzcxyz386 added the bug Something isn't working label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant