pyspark.sql.UDTFRegistration# class pyspark.sql.UDTFRegistration(sparkSession)[source]# Wrapper for user-defined table function registration. This instance can be accessed by spark.udtf or sqlContext.udtf. New in version 3.5.0. Methods register(name, f) Register a Python user-defined table function as a SQL table function.