Skip to content

Convert a string to lowercase

Source code

Description

Transform to lowercase variant.

Usage

<Expr>$str$to_lowercase()

Value

Expr of String lowercase chars

Examples

library("polars")

pl$lit(c("A", "b", "c", "1", NA))$str$to_lowercase()$to_series()
#> polars Series: shape: (5,)
#> Series: '' [str]
#> [
#>  "a"
#>  "b"
#>  "c"
#>  "1"
#>  null
#> ]