pyspark.sql.functions.
shiftleft
Shift the given value numBits left.
Examples
>>> spark.createDataFrame([(21,)], ['a']).select(shiftleft('a', 1).alias('r')).collect() [Row(r=42)]
previous
pyspark.sql.functions.sec
next
pyspark.sql.functions.shiftright