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

snowflake.snowpark.functions.bitshiftleft

snowflake.snowpark.functions.bitshiftleft(to_shift_column: ColumnOrName, n: Column | int) Column[source]

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
Copy