-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[python-package] lgb.Dataset(table, feature_name="auto")
does not auto-detect feature names of pyarrow table
#6780
Labels
Comments
This was referenced Jan 9, 2025
Thanks for using LightGBM and for the report. Can you be more specific about what "fails" means? Error message, unexpected behavior, etc.? |
lgb.Dataset(table, feature_name="auto")
does not auto-detect feature names of pyarrow tablelgb.Dataset(table, feature_name="auto")
does not auto-detect feature names of pyarrow table
It raises an error:
|
Thank you! That's helpful for us trying to debug, and for everyone else who might encounter this (so the issue can be found from search engines). |
Closed by #6781 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
According to the docs https://lightgbm.readthedocs.io/en/v4.5.0/pythonapi/lightgbm.Dataset.html, if
feature_name="auto"
, alightgbm.Dataset
can infer feature names from the column names of a pyarrow table. It appears that this does not happen.Reproducible example
Environment info
LightGBM version or commit hash:
Command(s) you used to install LightGBM
The text was updated successfully, but these errors were encountered: