Compare the elements of the two Pandas Series

Perform ==, < and > operation on two different pandas series and return it into new series.

Sample Input: [2, 4, 6, 8, 10], [1, 3, 5, 7, 10]

Output:

== operator

    [False, False, False, False, True]

> operator

    [True, True, True, True, False]

< operator

    [False, False, False, False, False]