snowflake.snowpark.functions.not_¶
- snowflake.snowpark.functions.not_(e: Union[Column, str]) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.12.0/src/snowflake/snowpark/functions.py#L1483-L1499)¶
Returns the inverse of a boolean expression.
Example:
>>> df = session.create_dataframe([[True]], schema=["a"]) >>> df.select(not_(col("a").alias("result"))).show() ------------ |"RESULT" | ------------ |False | ------------