snowflake.snowpark.functions.bitnot¶
- snowflake.snowpark.functions.bitnot(e: Union[Column, str]) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L496-L505)¶
Returns the bitwise negation of a numeric expression.
Example
>>> df = session.create_dataframe([1], schema=["a"]) >>> df.select(bitnot("a")).collect()[0][0] -2