snowflake.snowpark.DataFrame.to_df¶
- DataFrame.to_df(*names: Union[str, Iterable[str]]) DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.25.0/snowpark-python/src/snowflake/snowpark/dataframe.py#L916-L949)¶
Creates a new DataFrame containing columns with the specified names.
The number of column names that you pass in must match the number of columns in the existing DataFrame.
Examples:
- Parameters:
names – list of new column names