pub trait CrossJoin: IntoDf {
// Provided method
fn cross_join(
&self,
other: &DataFrame,
suffix: Option<PlSmallStr>,
slice: Option<(i64, usize)>,
) -> Result<DataFrame, PolarsError> { ... }
}
Available on crate feature
polars-ops
only.Provided Methods§
Sourcefn cross_join(
&self,
other: &DataFrame,
suffix: Option<PlSmallStr>,
slice: Option<(i64, usize)>,
) -> Result<DataFrame, PolarsError>
fn cross_join( &self, other: &DataFrame, suffix: Option<PlSmallStr>, slice: Option<(i64, usize)>, ) -> Result<DataFrame, PolarsError>
Creates the Cartesian product from both frames, preserves the order of the left keys.