pyspark.sql.functions.column

pyspark.sql.functions.column(col)

Returns a Column based on the given column name.

Examples

>>> col('x')
Column<'x'>
>>> column('x')
Column<'x'>

New in version 1.3.