You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context. I encountered this error while working on #10175. Starting from Pandas 2.0, pd.get_dummies() returns Boolean type, instead of uint8 (pandas-dev/pandas#48022).
The text was updated successfully, but these errors were encountered:
hcho3
changed the title
Pandas 2.0+: get_dummies() now returns Bool type instead of uint8
_transform_cudf_df() cannot yet handle Boolean columns
Apr 13, 2024
Since the
ArrayInterface
class in XGBoost does not yet support Boolean columns, it throws an errorwhenever Boolean columns are passed in. The error is only relevant for cuDF DataFrames, since the handler for Pandas DataFrame converts Boolean columns into float type.
Context. I encountered this error while working on #10175. Starting from Pandas 2.0,
pd.get_dummies()
returns Boolean type, instead of uint8 (pandas-dev/pandas#48022).The text was updated successfully, but these errors were encountered: