
Ultimate access to all questions.
You have a dataset with multiple groups, and you want to train and apply group-specific models using the Pandas Function API in Spark. Provide a detailed explanation of how you would approach this task, including the steps involved and any considerations to keep in mind.
A
Use the Pandas Function API to train a single global model and apply it to all groups.
B
Use the Pandas Function API to train a separate model for each group and apply them individually.
C
Use the Pandas Function API to train a single model and apply it to each group without considering group-specific differences.
D
Use the Pandas Function API to train a model for one group and apply it to all other groups.