Column.
bitwiseOR
Compute bitwise OR of this expression with another expression.
a value or Column to calculate bitwise or(|) with this Column.
Column
Examples
>>> from pyspark.sql import Row >>> df = spark.createDataFrame([Row(a=170, b=75)]) >>> df.select(df.a.bitwiseOR(df.b)).collect() [Row((a | b)=235)]