snowflake.snowpark.functions.upper¶
- snowflake.snowpark.functions.upper(e: Union[Column, str]) Column [source]¶
- 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 €')]