snowflake.snowpark.DataFrame.collect¶
- DataFrame.collect(*, statement_params: Optional[Dict[str, str]] = None, block: bool = True, log_on_exception: bool = False, case_sensitive: bool = True, _emit_ast: bool = True) List[Row][source] (https://github.com/snowflakedb/snowpark-python/blob/v1.30.0/snowpark-python/src/snowflake/snowpark/dataframe.py#L675-L727)¶
- DataFrame.collect(*, statement_params: Optional[Dict[str, str]] = None, block: bool = False, log_on_exception: bool = False, case_sensitive: bool = True, _emit_ast: bool = True) AsyncJob
- Executes the query representing this DataFrame and returns the result as a list of - Rowobjects.- Parameters:
- statement_params – Dictionary of statement level parameters to be set while executing this action. 
- block – A bool value indicating whether this function will wait until the result is available. When it is - False, this function executes the underlying queries of the dataframe asynchronously and returns an- AsyncJob.
- case_sensitive – A bool value which controls the case sensitivity of the fields in the - Rowobjects returned by the- collect. Defaults to- True.
 
 - See also