Tabular Issue running_mean issue


I am trying to run tabular learner for a data frame which I have manually done a lot of preprocessing on. With logistic regression I get 90% accuracy but with only fastai’s preprocessing I get 70% so I want to do my preprocessing and see.

I keep getting this error:

running_mean should contain 44 elements not 40

There are only train 40 columns in my dataframe and 1 target.

Here is the notebook: