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

pandas.Int64Index warning on xgboost 1.6.0 #8123

Closed
shingjan opened this issue Jul 27, 2022 · 2 comments
Closed

pandas.Int64Index warning on xgboost 1.6.0 #8123

shingjan opened this issue Jul 27, 2022 · 2 comments

Comments

@shingjan
Copy link

The following error occurred while I was running xgboost==1.6.0 for some tuning workloads on tvm:

/xxx/python3.8/site-packages/xgboost/compat.py:36: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
  from pandas import MultiIndex, Int64Index

I can send in a PR to fix this if necessary. Thanks!

@hcho3
Copy link
Collaborator

hcho3 commented Jul 28, 2022

Are you sure you are using XGBoost 1.6.0? In #7595, we removed all uses of Int64Index from the XGBoost codebase. This change is part of the 1.6.0 release.

@shingjan
Copy link
Author

@hcho3 Thanks! It turned out to be an issue with 1.5.2. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants