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

Add zero-copy DMatrix creation with Arrow #224

Open
Yard1 opened this issue Jul 12, 2022 · 2 comments
Open

Add zero-copy DMatrix creation with Arrow #224

Yard1 opened this issue Jul 12, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Yard1
Copy link
Member

Yard1 commented Jul 12, 2022

We are currently converting to Pandas before initialising the DMatrix. We should consider using Arrow instead to avoid unnecessary copies. XGBoost has Arrow support - dmlc/xgboost#7512

@Yard1 Yard1 added the enhancement New feature or request label Jul 12, 2022
@natmod
Copy link

natmod commented Jul 12, 2022

Thanks for adding this! It looked like the changes were split over two PRs, just FYI here is the second dmlc/xgboost#7283

@tonyabracadabra
Copy link

And supporting polars dataframe for creating DMatrix in Python?

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

No branches or pull requests

3 participants