Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
What is the correct method to apply a grouped map Pandas UDF to a PySpark DataFrame? Choose only ONE best answer.
A
By using the apply method on a DataFrame column
B
By using the groupBy method followed by the agg method on a DataFrame
C
By using the groupBy method followed by the apply method on a DataFrame
D
By using the applyInPandas method on a DataFrame