binaryop#

cudf._lib.pylibcudf.binaryop.binary_operation(signatures, args, kwargs, defaults, _fused_sigindex={})#

Perform a binary operation between a column and another column or scalar.

lhs and rhs may be a Column or a Scalar, but at least one must be a Column.

For details, see binary_operation().

Parameters:
lhsUnion[Column, Scalar]

The left hand side argument.

rhsUnion[Column, Scalar]

The right hand side argument.

opBinaryOperator

The operation to perform.

output_typeDataType

The data type to use for the output.

Returns:
pylibcudf.Column

The result of the binary operation