Data Transformation, Sklearn, Machine Learning, One Hot Encoding, Label Encoding.
considered as Nominal Variable as we cannot compare the color with each other. It is impossible to state that “Red” is better than “Blue” (subjective!). Similarly, Gender is a type of Nominal Variable as again we cannot differentiate between Male, Female, and Others. Section 6- Handling Categorical