PySpark UDFs work in a similar way as the pandas .map() and .apply() methods ... square_udf_int = udf(lambda z: square(z), IntegerType()).
確定! 回上一頁