Thanks for the great library. I’ve been using it to look at some tabular data and I’ve run into an issue I can’t wrap my head around.
When I call get_tabular_data_from_df to get the DataBunch, it returns an error saying:
TypeError: can’t convert np.ndarray of type numpy.int8. The only supported types are: double, float, float16, int64, int32, and uint8.
I traced the issue back to the dependent variable, which is being converted to an int8 by the function. I’ve tried loading the data as an int32 and as a category. If the dtype is int32, I get an error saying I can’t use .cat unless it’s on a categorical variable. However, I get the TypeError when it’s loaded as a category dtype.
Let me know if I can provide any other info.