pyspark.sql.functions.col

pyspark.sql.functions.col(col)

Returns a Column based on the given column name.

New in version 1.3.