X has 36 features per sample, expected 43

I have this error when i tried to predict in the homework notebook, i have an idea why … but i don’t know how to correct

I think the shape of X-train is wrong. It should be of shape (x, y) where x is the number of rows and y is the number of feature. 1 row should represent 1 input.