Data Scientist Path - Instruction Typo

The second instruction mentions to create a new variable but the exercise doesn’t continue with that. Instead, we have to create a new column in the dataframe for the instruction to successfully complete.

You mean this part?

" Create a new variable rating_codes , which contains the numerical codes associated with each category."

The word “variable” should be “column”, is that what you mean?

It says it in the instruction in the terminal window:

# Create rating_codes by encoding the `Rating` variable with 

clothes['rating_codes'] = clothes['Rating']

Yeah. Even the explanation above the instructions explains this as a new variable instead of a new column. That is what I meant.