Skip to main content

apply_format_string

Function apply_format_string 

Source
pub fn apply_format_string(
    columns: &mut [Column],
    format: &str,
) -> PolarsResult<Option<Column>>
Expand description

Format columns with printf-style format string (PySpark format_string / printf). Supports %s, %d, %i, %f, %g, %%. Null in any column yields null result.