PySpark referenceClassesSparkSessiontvfOn this pagetvf Returns a TableValuedFunction that can be used to call a table-valued function (TVF). Syntax tvf Returns tvf.TableValuedFunction Examples Pythonimport pyspark.sql.functions as sfspark.tvf.explode(sf.array(sf.lit(1), sf.lit(2), sf.lit(3))).show()# +---+# |col|# +---+# | 1|# | 2|# | 3|# +---+