pandera.api.pyspark.types.PysparkDataframeColumnObject

class pandera.api.pyspark.types.PysparkDataframeColumnObject(dataframe: DataFrame | DataFrame, column_name: str)[source]

Pyspark Object which holds dataframe and column value in a named tuble

Create new instance of PysparkDataframeColumnObject(dataframe, column_name)

Attributes

column_name

Alias for field number 1

dataframe

Alias for field number 0

Methods