Expr.str.to_lowercase
methodView source ↗
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 │
└──────┴───────────────┘