Skip to main content
Version: 1.7.0

Expr.str.to_lowercase

def to_lowercase() -> Expr

Categories: string

Return the lowercase of a string.

Examples

>>> import tabsdata as td
>>>
>>> tf: td.TableFrame ...
>>>
>>> tf.select(td.col("a"), td.col("a").str.to_lowercase().alias("to_lowercase"))
>>>
┌──────┬───────────────┐
│ a ┆ to_lowerrcase │
------
str ┆ u32 │
╞══════╪═══════════════╡
│ aB ┆ ab │
│ null ┆ null │
└──────┴───────────────┘