Category Archives: Pandas
How to Encode multiple columns using Scikit-learn?
You need to improve data representation by normalizing numerical features, embedding categorical features, creating more meaningful columns, and many other steps to increase the ML model performance or improve the quality of dashboards.
Difference between LabelEncoder and OrdinalEncoder to Encode Categorical Values
You can use OrdinalEncoder to preserve the order of categorical data i.e. small, medium, large, extra large or low, medium, high. You can use LabelEncoder for categorical data where there’s no order in data i.e. red, green, blue.