Trait polars_ops::frame::join::CrossJoin

source ·
pub trait CrossJoin: IntoDf {
    // Provided methods
    fn cross_join_dfs(
        &self,
        other: &DataFrame,
        slice: Option<(i64, usize)>,
        parallel: bool,
    ) -> PolarsResult<(DataFrame, DataFrame)> { ... }
    fn cross_join(
        &self,
        other: &DataFrame,
        suffix: Option<PlSmallStr>,
        slice: Option<(i64, usize)>,
    ) -> PolarsResult<DataFrame> { ... }
}

Provided Methods§

source

fn cross_join_dfs( &self, other: &DataFrame, slice: Option<(i64, usize)>, parallel: bool, ) -> PolarsResult<(DataFrame, DataFrame)>

source

fn cross_join( &self, other: &DataFrame, suffix: Option<PlSmallStr>, slice: Option<(i64, usize)>, ) -> PolarsResult<DataFrame>

Creates the Cartesian product from both frames, preserves the order of the left keys.

Implementations on Foreign Types§

source§

impl CrossJoin for DataFrame

Implementors§