Operators#
Polars supports native Python operators for all common operations;
these operators are also available as methods on the Expr
class.
Conjunction#
|
Method equivalent of bitwise "and" operator |
|
Method equivalent of bitwise "or" operator |
Comparison#
|
Method equivalent of equality operator |
|
Method equivalent of equality operator |
|
Method equivalent of "greater than or equal" operator |
|
Method equivalent of "greater than" operator |
|
Method equivalent of "less than or equal" operator |
|
Method equivalent of "less than" operator |
|
Method equivalent of inequality operator |
|
Method equivalent of equality operator |
Numeric#
|
Method equivalent of addition operator |
|
Method equivalent of integer division operator |
|
Method equivalent of modulus operator |
|
Method equivalent of multiplication operator |
|
Method equivalent of unary minus operator |
|
Method equivalent of subtraction operator |
|
Method equivalent of float division operator |
|
Method equivalent of exponentiation operator |
Binary#
|
Method equivalent of bitwise exclusive-or operator |