A data scientist has defined a Pandas UDF function predict to parallelize the inference process for a single-node model:
They have written the following incomplete code block to use predict to score each record of Spark DataFrame spark_df:
Which of the following lines of code can be used to complete the code block to successfully complete the task?
souarav
Highly Voted 5 months, 3 weeks agoricorosol
Most Recent 1 month, 3 weeks agorajneesharora
4 months, 3 weeks ago