Ordinal categorical variables
Columns regarding a person's income do not have to be numerical. If the income amount is split into distinct categories, the new column will be categorical. Since these categories will have a natural order (smallest income to largest), the variable is considered ordinal.
This exercise is part of the course
Working with Categorical Data in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
