snowflake.snowpark.functions.not_¶

snowflake.snowpark.functions.not_(e: Union[Column, str]) → Column[source]¶

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     |
------------
Copy