polars_ops::frame::join

Trait CrossJoin

Source
pub trait CrossJoin: IntoDf {
    // Provided method
    fn cross_join(
        &self,
        other: &DataFrame,
        suffix: Option<PlSmallStr>,
        slice: Option<(i64, usize)>,
    ) -> PolarsResult<DataFrame> { ... }
}

Provided Methods§

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§