modin.pandas.DataFrame.pin_backend

DataFrame.pin_backend(inplace: bool = False) Optional[Self][source] (https://github.com/snowflakedb/snowpark-python/blob/v1.33.0/.tox/docs/lib/python3.9/site-packages/modin/core/storage_formats/pandas/query_compiler_caster.py#L202-L216)

Pin the object’s underlying data, preventing Modin from automatically moving it to another backend.

Parameters:

inplace (bool, default: False) – Whether to update the object in place.

Returns:

The newly-pinned object, if inplace is False. Otherwise, None.

Return type:

Optional[Self]

Language: English