Skip to content

Conversation

@ChiahungTai
Copy link
Collaborator

Description

Skip idx.is_lexsorted() when pandas version is larger than 1.3.0.

Motivation and Context

Check the pandas vesrion first. If the version > 1.3.0, skip the use of is_lexsorted.

How Has This Been Tested?

<! --- Put an x in all the boxes that apply: --->

  • 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.

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Screen Shot 2022-03-12 at 9 25 45 PM

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

@you-n-g you-n-g merged commit 776b0c5 into microsoft:main Mar 13, 2022
@you-n-g you-n-g added the enhancement New feature or request label Apr 24, 2022
qianyun210603 pushed a commit to qianyun210603/qlib that referenced this pull request Mar 23, 2023
…crosoft#973)

* Skip idx.is_lexsorted() when pandas version is larger than 1.3.0. The future warning is annoying.

* Skip idx.is_lexsorted() when pandas version is larger than 1.3.0. The future warning is annoying.

* Rewrite code.
you-n-g pushed a commit to you-n-g/qlib that referenced this pull request Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants