snowflake.snowpark.functions.bitshiftleft¶
- snowflake.snowpark.functions.bitshiftleft(to_shift_column: Column | str, n: Column | int) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.5.0/src/snowflake/snowpark/functions.py#L487-L496)¶
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