Function polars::prelude::split_to_struct

source ·
pub fn split_to_struct<'a, F, I>(
    ca: &'a ChunkedArray<StringType>,
    by: &'a ChunkedArray<StringType>,
    n: usize,
    op: F
) -> Result<StructChunked, PolarsError>
where F: Fn(&'a str, &'a str) -> I, I: Iterator<Item = &'a str>,
Available on crate features polars-ops and dtype-struct only.