tabsdata.tableframe.expr.string.ExprStringNameSpace.to_uppercase#
- ExprStringNameSpace.to_uppercase() Expr [source]#
Return the uppercase of a string.
Example:
>>> 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 │ └──────┴──────────────┘