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

suppress the SettingWithCopyWarning of pandas #1513

Merged

Conversation

Fivele-Li
Copy link
Contributor

@Fivele-Li Fivele-Li commented May 17, 2023

df value is set as expected, suppress the warning.reference

Description

image

Motivation and Context

How Has This Been Tested?

  • Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
  • If you are adding a new feature, test on your own test scripts.

before:
image

after:
image

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

@github-actions github-actions bot added the waiting for triage Cannot auto-triage, wait for triage. label May 17, 2023
@Fivele-Li Fivele-Li added maintenance improving code readability and maintainability and removed waiting for triage Cannot auto-triage, wait for triage. labels May 26, 2023
@Fivele-Li Fivele-Li merged commit 69e28ce into microsoft:main Sep 1, 2023
32 checks passed
PaleNeutron pushed a commit to PaleNeutron/qlib that referenced this pull request Oct 11, 2023
* df value is set as expected, suppress the warning;

* depress warning with pandas option_context

---------

Co-authored-by: Cadenza-Li <362237642@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance improving code readability and maintainability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants