Closed colin-ho closed 1 day ago
Shift the values of an integer / unsigned integer column to the right by n bits.
Note:
Example:
df = daft.from_pydict({"a": [2, 4, 8], "b": [1, 2, 3]}) df = df.select(df["a"] >> df["b"]) # this should produce the column : [1, 1, 1]
@colin-ho would like to pick this one
Closed with https://github.com/Eventual-Inc/Daft/pull/2453
Shift the values of an integer / unsigned integer column to the right by n bits.
Note:
Example: