Skip to main content

CrossJoin

Trait CrossJoin 

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

Provided Methods§

Source

fn cross_join( &self, other: &DataFrame, suffix: Option<PlSmallStr>, slice: Option<(i64, usize)>, maintain_order: MaintainOrderJoin, ) -> Result<DataFrame, PolarsError>

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§