Sample of the Clothing Size Prediction with ordering applied in the Size column
create_project
step.
Start writing ord
, and the list will show the order_categories
step.
Press enter, tab or click on the suggestion to accept it.
size
(careful, it’s case sensitive!),
we change the code so it looks like this:
size
. We can either
create a new column with the ordering applied, or we can overwrite the existing column to include
the ordering information.
To create a new column, simply change the output from size to any other name, for example:
{}
that has a field categories
. This field expects a list
of all the categories present in this column in ascending order. “Smaller” elements first.