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
raiseValueError("DataFrame contained no valid column")
else:
returnmatrices[0]
that constructs a SplitMatrix from a pandas data frame.
It would great to also support polars (or arrow tables more generally given that it's easy to move from polars to arrow). This would open the door to having glum support polars data frames as input.
Currently, we have a handy
from_pandas
constructortabmat/src/tabmat/constructor.py
Lines 16 to 156 in 52e8583
that constructs a
SplitMatrix
from a pandas data frame.It would great to also support polars (or arrow tables more generally given that it's easy to move from polars to arrow). This would open the door to having
glum
support polars data frames as input.As a reference, @borchero just added arrow support to
LightGBM
: microsoft/LightGBM#6034The text was updated successfully, but these errors were encountered: