You are viewing documentation about an older version (1.4.0). View latest version

snowflake.snowpark.functions.not_

snowflake.snowpark.functions.not_(e: ColumnOrName) 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