Q1easy
Looking at this transformation, what is the effect on the data?
Topic-wise practice questions for Artificial Intelligence & Machine Learning. Test your knowledge, check solutions on demand, and pace your preparation.
import pandas as pd
df = pd.DataFrame({'Gender': ['Male', 'Female']})
# What command performs one-hot encoding?