UDF
From the book I Am Datapedia!, published here free by the author.
Part of I Am Datapedia!
Questions 1–10 of 10
1. What does UDF stand for?
2. What are the stated benefits of using User-Defined Functions?
3. What does the SQL UDF example ConcatenateStrings('Hello', 'World') return?
4. What does the Python UDF calculate_square(5) output?
5. What does the JavaScript UDF isEven(7) return?
6. Which language is used to create custom functions (UDFs) in Microsoft Excel?
7. What result does the Excel UDF =Factorial(5) produce?
8. In the PySpark UDF example, what does the uppercase_udf do when applied to the DataFrame?
9. In the Spark UDF example, what is passed alongside the Python function when registering the UDF?
10. Which of the following is NOT one of the UDF environments given as an example?