Question 12 code snippet

Hi everyone,

if you use the code snippet to get the feature names, you have to be careful, that your preprocessor in the question before included the categorical preprocessor on the first position. Otherwise the feature names will be in the wrong order! Maybe it will be useful to include a note at the code snippet.

Best

4 Likes

Thanks for reporting. It is true that inverting the transformers will invert the column names as well.
We should add these details.

2 Likes

Can’t thank you enough for this comment!!!

1 Like