Skip to main content
Version: 0.9.3

Expr.str.to_uppercase

def to_uppercase() -> Expr

Categories: string

Return the uppercase of a string.

Examples

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