python/ray/data/read_api.py
def from_modin(df: "modin.DataFrame") -> Dataset[ArrowRow]:
    """Create a dataset from a Modin dataframe.

    Args:
        df: A Modin dataframe, which must be using the Ray backend.

    Returns:
        Dataset holding Arrow records read from the dataframe.
    """
    from modin.distributed.dataframe.pandas.partitions import unwrap_partitions

    parts = unwrap_partitions(df, axis=0)
    return from_pandas_refs(parts)
Create a dataset from a Modin dataframe.

    Args:
        df: A Modin dataframe, which must be using the Ray backend.

    Returns:
        Dataset holding Arrow records read from the dataframe.
    
Create a dataset from a Modin dataframe.
Create a dataset from a Modin dataframe .
def from_modin(df: "modin.DataFrame") -> Dataset[ArrowRow]:
    from modin.distributed.dataframe.pandas.partitions import unwrap_partitions
    parts = unwrap_partitions(df, axis=0)
    return from_pandas_refs(parts)
def from_modin ( df : "modin.DataFrame" ) -> Dataset [ ArrowRow ] : from modin . distributed . dataframe . pandas . partitions import unwrap_partitions parts = unwrap_partitions ( df , axis = 0 ) return from_pandas_refs ( parts )
Create a dataset from a Modin dataframe.
Create a dataset from a Modin dataframe .
"""Create a dataset from a Modin dataframe.

    Args:
        df: A Modin dataframe, which must be using the Ray backend.

    Returns:
        Dataset holding Arrow records read from the dataframe.
    """
Dataset holding Arrow records read from the dataframe.
Dataset holding Arrow records read from the dataframe .
df
"modin.DataFrame"
A Modin dataframe, which must be using the Ray backend.
A Modin dataframe which must be using the Ray backend .