my cod have a problem, i couldn’t figure it out
You wrote data = data.drop(columns=....) after creating the categorical and numerical columns.
Thus, the columns are not anymore in the data passed in cross_validate while you provide the column names in the ColumnTransformer.



