compareScalar

fnSeries compareScalar(string op, T)(Series a, T scalar)

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

opone of `"=="`, `"!="`, `"<"`, `"<="`, `">"`, `">="`
athe Series operand
scalarthe scalar operand (broadcast)

Returns

the BOOLEAN result Series.

Throws

DataFrameException on kind mismatches.