Data Transformation, Sklearn, Machine Learning, One Hot Encoding, Label Encoding.
achieve this by splitting the feature into a number of binary features called ‘dummy variables, one for each category: ‘0’ means the observation was not that category, while ‘1’ means it was. For example, say we are dealing with a car dataset that has a ‘origin’ feature with three different