Hi, I am struggling building the model for Q13. I am getting an error and I am not sure why.
You passed the data (e.g. data[categorical_columns]
instead of the column names (e.g. categorical_columns
) when initializing the ColumnTransformer
.
You passed the data (e.g. data[categorical_columns]
instead of the column names (e.g. categorical_columns
) when initializing the ColumnTransformer
.