arithmetic
IsNullOperator ¶
AddOperator ¶
SubtractOperator ¶
Bases: BinaryPQLOperator
Subtraction operator that subtracts all operands.
Applies SUB operator to column.
MultiplyOperator ¶
Bases: BinaryPQLOperator
Multiply operator that multiplies all operands.
Applies MULT operator to column.
DivideOperator ¶
ModuloOperator ¶
Bases: BinaryPQLOperator
Modulo operator that takes modulo of all operands.
Applies MODULO operator to column.
FloorDivisionOperator ¶
Bases: BinaryPQLOperator
Floor division operator that applies floor division to all operands.
Applies FLOOR operator and DIV operator to column.
PowerOperator ¶
Bases: BinaryPQLOperator
Power operator that raises the left operand to the power of the right operand.
Applies POWER operator to column.
AbsOperator ¶
Bases: UnaryPQLOperator
Operator that computes the absolute value of a series.
Applies ABS operator to column.
InverseOperator ¶
Bases: UnaryPQLOperator
Operator that computes the inverse value of a series.
Applies INVERSE operator to column.
RoundOperator ¶
Bases: UnaryPQLOperator
Operator that rounds the value of a series.
Applies ROUND operator to column.
Parameters:
-
operand
(Union[ScalarValue, PQLOperator]
) –Operand to which round operator is applied.
-
decimals
(int
, default:0
) –Number of decimals.