Element-wise logical OR in Pandas
I would like the element-wise logical OR operator. I know "or" itself is not what I am looking for.
The corresponding operator is
df[(df < 3) | (df == 5)]
would elementwise check if value is less than 3 or equal to 5.