polars.Series.str.to_lowercase#

Series.str.to_lowercase() Series[source]#

Modify the strings to their lowercase equivalent.

Examples

>>> s = pl.Series("foo", ["CAT", "DOG"])
>>> s.str.to_lowercase()
shape: (2,)
Series: 'foo' [str]
[
    "cat"
    "dog"
]