snowflake.snowpark.functions.upper¶
- snowflake.snowpark.functions.upper(e: Union[Column, str]) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/functions.py#L2728-L2740)¶
- Returns the input string with all characters converted to uppercase.
Unicode characters are supported.
Example:
>>> df = session.create_dataframe(['abc', 'Abc', 'aBC', 'Anführungszeichen', '14.95 €'], schema=["a"]) >>> df.select(upper(col("a"))).collect() [Row(UPPER("A")='ABC'), Row(UPPER("A")='ABC'), Row(UPPER("A")='ABC'), Row(UPPER("A")='ANFÜHRUNGSZEICHEN'), Row(UPPER("A")='14.95 €')]