You have a requirement to train and apply different machine learning models to different groups within a Spark DataFrame. Which Pandas Function API would you use to achieve this and why? | Databricks Certified Machine Learning - Associate Quiz - LeetQuiz