snowflake.snowpark.functions.bitshiftright¶

snowflake.snowpark.functions.bitshiftright(to_shift_column: Union[Column, str], n: Union[Column, int]) → Column[source]¶

Returns the bitwise negation of a numeric expression.

Example

>>> df = session.create_dataframe([2], schema=["a"])
>>> df.select(bitshiftright("a", 1)).collect()[0][0]
1
Copy