snowflake.snowpark.DataFrame.columns¶
- property DataFrame.columns: List[str][source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/dataframe.py#L950-L966)¶
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”’