modin.pandas.DataFrame.pin_backend

DataFrame.pin_backend(inplace: bool = False) Optional[Self][source]

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]