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