Hi all!
I am getting this error while doing inference with my tabular learner using the predict function.
At first I thought it could be a conflict between libraries, but after installing older versions i’m still getting the same result. My pandas version is 1.1.0 and my fastai version is 2.3.1. After that I tried executing the same code in one of the Colab notebooks and i got the same error, which makes me think there is a problem with the way i manage my dataframe, here are the dtypes: (not all the variables are used in the model)
Date datetime64[ns]
pmc int8
growth float32
credit float32
revenue_last_m float32
revenue_last_2_m float32
revenue_last_3_m float32
credit_last_year float32
Year int16
Month int8
Week int8
Day int8
Dayofweek int8
Dayofyear int16
Is_month_end bool
Is_month_start bool
Is_quarter_end bool
Is_quarter_start bool
Is_year_end bool
Is_year_start bool
Elapsed float32
WeekOfMonth int8
is_holiday bool
next_holiday int8
previous_holiday int8
dtype: object
Can anyone help me with this? I’m at a loss and don’t really know what else to try.
Thanks in advance!