-
Notifications
You must be signed in to change notification settings - Fork 917
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
Converting a GPU DF to DMatrix doesn't handle uint8 #468
Comments
@raghavmi I don't believe we support |
It works when I remove the int8 columns. How do I convert a column dtype in cuDF? I don't see an option like Pandas' astype or to_numeric. I created this issue to capture the lack of support for uint8. Is that already being tracked elsewhere ? Note, uint8 is the default type that cuDF's one hot encoding generates. So people are likely to run into it frequently. There's a separate issue when you get past the uint8 issue, that I've it documented here: |
|
My apologies. I found the documentation for it now. I was looking for it as a function on the dataframe object itself. I still see some weirdness. My attempt to change the dtype doesn't quite seem to work. In my case, APPT_WEEKDAY_1 is a column of dtype uint8.
uint8
int8
AGE int64
|
Should be fixed in latest release which had numerous dtype handling fixes. |
Reporting a bug
Converting a GPU DF to Dmatrix throws an error if some of the columns are of type uint8.
cuDF's one_hot_encoding function automatically creates columns of type uint8. But these columns then throw an error when you try to convert it to a DMatrix.
You can reproduce this issue on the latest RAPIDS Docker image using the attached Python code .
GPU DF to DMatrix Conversion Error #1.txt
The text was updated successfully, but these errors were encountered: