pandera.api.pyspark.model.DataFrameModel.to_structtype¶ classmethod DataFrameModel.to_structtype()[source]¶ Recover fields of DataFrameModel as a Pyspark StructType object. Return type: StructType Returns: StructType object with current model fields.