Hi,
I am using python 3.8.2, pandas 1.4.1 and xgb 1.5.2. When I run the sklearn xgboost API, the following warning is displayed:
C:\Users\dtian\AppData\Local\Programs\Python\Python38\lib\site-packages\xgboost\data.py:262: FutureWarning: pandas.Int64Index is deprecated and will be removed from pandas in a future version. Use pandas.Index with the appropriate dtype instead.
elif isinstance(data.columns, (pd.Int64Index, pd.RangeIndex)):
How to remove the warning please?
Thanks
David