🔥 3-day streak
Databricks Certified Machine Learning Associate66 / 137
Question 66 of 137

A data scientist is preparing a customer churn dataset in a Spark DataFrame. The categorical column 'preferred_channel' has about 8% missing values, and the business confirms these are missing at random with no meaningful 'unknown' category. The scientist wants to impute the missing values before one-hot encoding, while avoiding data leakage. Which approach is most appropriate?

Reviewed for accuracy · Report an issueNext question