Compute bitwise NOT of
x, which corresponds to python operation
x is a multi-column expressions, then the
~ operator will be
applied to each column in turn.
Bitwise NOT can only be applied to integer or boolean columns. The resulting column will have the same stype as its argument.
When the argument
x is a boolean column, then
~x is equivalent to
logical NOT. This can be used to negate a condition, similar to python
not (which is not overloadable).
FExpr, or any object that can be converted into
An expression that evaluates
~x in order to negate a boolean FExpr. Using standard Python
not will result in an error.