compareScalar
The comparison operations between a Series and a scalar, with the same-kind rule and null propagation ([1, null, 2].eq(1) is [true, null, false]).
Parameters
op | one of `"=="`, `"!="`, `"<"`, `"<="`, `">"`, `">="` |
a | the Series operand |
scalar | the scalar operand (broadcast) |
Returns
the BOOLEAN result Series.
Throws
DataFrameException on kind mismatches.