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
andrhs
may be aColumn
or aScalar
, but at least one must be aColumn
.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