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