QuestionQ133
VerifiedDeveloping Apache Spark™ DataFrame/DataSet API ApplicationsThe code block below must create a Python UDF, assessPerformanceUDF, using the Python function assessPerformance() and apply it to the customerSatisfaction column in the storesDF DataFrame. Choose the response that correctly completes the numbered blanks in the code block to perform this task.
assessPerformanceUDF = _1_(_2_)
storesDF.withColumn(“result”, _3_(_4_))
Community Discussion