label_encode
Encode categories with values between 0 and N-1, where N is the number of unique categories.
In other words, the first category will be assigned the number 0 and the last category a value of N-1.
Was this page helpful?
Encode categories with values between 0 and N-1, where N is the number of unique categories.
In other words, the first category will be assigned the number 0 and the last category a value of N-1.
Was this page helpful?