compare

fnSeries compare(string op)(Series a, Series b)

The comparison operations on two Series of equal length. Comparisons require the same kind (temporal with temporal, string with string, boolean with boolean for eq/ne); numeric pairs compare at the numeric supertype. A null operand yields a null result slot; float comparisons are IEEE (NaN != NaN yields false, not null).

Parameters

opone of `"=="`, `"!="`, `"<"`, `"<="`, `">"`, `">="`
athe left operand
bthe right operand

Returns

the BOOLEAN result Series.

Throws

DataFrameException on kind mismatches or length mismatch.