You are viewing documentation about an older version (1.3.0). View latest version

snowflake.snowpark.functions.column¶

snowflake.snowpark.functions.column(col_name: str) → Column[source]¶

Returns a Column with the specified name. Alias for col.

Example::
>>> df = session.sql("select 1 as a")
>>> df.select(column("a")).collect()
[Row(A=1)]
Copy