Open mattharrison opened 3 months ago
We haven't supported polars yet. I'm hoping https://github.com/dmlc/xgboost/issues/10452 can help XGBoost manage the variety of dataframe inputs. We currently have cuDF, pandas, modin, pyarrow (no categorical support yet due to missing feature in pyarrow the last time we check), and datatable. The dispatching code along with the CI is getting out of hand now, especially with the many extensions that pandas has.
XGBoost raises a
ValueError
when trying to train a model with a Polars dataframe with categorical data.Error:
Expected result: That it works like pandas