Skip to content

LazyColumn.str.lower

lower

lower() -> LazyColumn

Converts all characters in the string to lowercase.

Returns:

Name Type Description
LazyColumn LazyColumn

A new LazyColumn with all lowercase string values.

Examples:

print(df.head())
#    col1 my_string_column
# 0     1           "Hello"
# 1     2           "WORLD"
# 2     3          "TeStInG"
# 3     4             None
# 4     5           "123ABC"

df["my_string_column"].str.lower()
# Expected output (LazyColumn in lazy mode):
# ["hello", "world", "testing", None, "123abc"]