Open
Description
Since the ArrayInterface
class in XGBoost does not yet support Boolean columns, it throws an error
/workspace/src/c_api/../data/array_interface.h:500: Boolean-1 is not supported.
whenever 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).