pyspark.sql.VariantVal.toPython#

VariantVal.toPython()[source]#

Convert the VariantVal to a Python data structure.

Returns
Any

A Python object that represents the Variant.