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

snowflake.snowpark.DataFrame.columns

property DataFrame.columns: List[str][source]

Returns all column names as a list.

The returned column names are consistent with the Snowflake database object identifier syntax.

Column name used to create a table

Column name returned in str

a

‘A’

A

‘A’

“a”

‘“a”’

“a b”

‘“a b”’

“a””b”

‘“a””b”’