Skip to main content

str_format

Function str_format 

Source
pub fn str_format(
    cs: &mut [Column],
    format: &str,
    insertions: &[usize],
    specs: &[Option<PlSmallStr>],
) -> Result<Column, PolarsError>
Available on crate feature polars-ops only.
Expand description

Fills the insertions of format with the values of cs, each formatted with its Python format specification in specs, if any.