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

Warning: Pandas deprecation, please fix this #7894

Closed
nilslacroix opened this issue May 12, 2022 · 1 comment
Closed

Warning: Pandas deprecation, please fix this #7894

nilslacroix opened this issue May 12, 2022 · 1 comment

Comments

@nilslacroix
Copy link

This error appears always when using pandas with xgboost, please fix this deprecation warning:

I do not want to surpress warnings since i could miss out on important subjects by doing that

anaconda3/envs/MASTER/lib/python3.10/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
@hcho3
Copy link
Collaborator

hcho3 commented May 12, 2022

@nilslacroix Please use latest release of XGBoost (1.6.1), which removed all uses of Int64Index. See #7595

@hcho3 hcho3 closed this as completed May 12, 2022
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