A data scientist is developing a Databricks notebook that requires extensive feature engineering, such as creating new columns and applying transformations. They aim to encapsulate this feature engineering logic into a reusable component. What is the best approach to accomplish this? | Databricks Certified Machine Learning - Associate Quiz - LeetQuiz