Function polars_lazy::frame::pivot::pivot
source ยท pub fn pivot<I0, I1, I2, S0, S1, S2>(
df: &DataFrame,
index: I0,
columns: I1,
values: Option<I2>,
sort_columns: bool,
agg_expr: Option<Expr>,
separator: Option<&str>
) -> PolarsResult<DataFrame>where
I0: IntoIterator<Item = S0>,
I1: IntoIterator<Item = S1>,
I2: IntoIterator<Item = S2>,
S0: AsRef<str>,
S1: AsRef<str>,
S2: AsRef<str>,
Available on crate feature
pivot
only.