pyspark.sql.udf.
UserDefinedFunction
User defined function in Python
New in version 1.3.
Notes
The constructor of this class is not supposed to be directly called. Use pyspark.sql.functions.udf() or pyspark.sql.functions.pandas_udf() to create this instance.
pyspark.sql.functions.udf()
pyspark.sql.functions.pandas_udf()
Methods
asNondeterministic()
asNondeterministic
Updates UserDefinedFunction to nondeterministic.
Attributes
returnType