LeetQuiz Logo
Privacy Policy•contact@leetquiz.com
© 2025 LeetQuiz All rights reserved.
Databricks Certified Machine Learning - Associate

Databricks Certified Machine Learning - Associate

Get started today

Ultimate access to all questions.


Comments

Loading comments...

Given a dataset with a categorical feature 'Color' having values 'Red', 'Blue', 'Green', and missing values, write a code snippet to perform one-hot encoding on this feature using Python and the pandas library. Explain how this process handles missing values.

Simulated



Powered ByGPT-5