modin.pandas.DataFrame.to_pandas

DataFrame.to_pandas(*, statement_params: Optional[dict[str, str]] = None, **kwargs: Any) DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/modin/plugin/extensions/dataframe_extensions.py#L200-L240)

Convert Snowpark pandas DataFrame to pandas.DataFrame (https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.html)

Parameters:

statement_params – Dictionary of statement level parameters to be set while executing this action.

Returns:

pandas DataFrame

See also

Examples

>>> df = pd.DataFrame({'Animal': ['Falcon', 'Falcon',
...                               'Parrot', 'Parrot'],
...                    'Max Speed': [380., 370., 24., 26.]})
>>> df.to_pandas()
   Animal  Max Speed
0  Falcon      380.0
1  Falcon      370.0
2  Parrot       24.0
3  Parrot       26.0
Copy
>>> df['Animal'].to_pandas()
0    Falcon
1    Falcon
2    Parrot
3    Parrot
Name: Animal, dtype: object
Copy
Language: English