Data Transformation, Sklearn, Machine Learning, One Hot Encoding, Label Encoding.
already know that the car is Asian! pd.get_dummies(df['Gender']).head() Another example is Marital Status. Here, we have three different categories Married: M, Divorced: D, and Single: S. we can reduce the dimensionality by one column by using: “drop_first=True” meaning the number of columns will