# Which Labeling should I use for my data

I am currently getting ready to preprocess my data for scikitlearn and was wondering if I should use one hot encoding or label encoding when working with values greater than 9. I may be wrong but when it comes to one hot encoding it can only work on values 0-9.

• If sorting labels makes sense LabelEncoder/OrdinalEncoder is better choice (for example feature is damage in ["no", "light", "medium", "severe"])
• Otherwise OneHotEncoder is a better choice (for example color in ["blue", "yellow", "orange"])