modin.pandas.DataFrame.to_pandas¶
- DataFrame.to_pandas(*, statement_params: Optional[dict[str, str]] = None, **kwargs: Any) DataFrame [source]¶
Convert Snowpark pandas DataFrame to pandas.DataFrame
- Parameters:
statement_params – Dictionary of statement level parameters to be set while executing this action.
- Returns:
pandas DataFrame
See also
to_pandas
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
>>> df['Animal'].to_pandas() 0 Falcon 1 Falcon 2 Parrot 3 Parrot Name: Animal, dtype: object