datetime.ne
datetime: TF = ne (A, B)
Inequality comparison for datetime arrays.
TF = ne (A, B) is the equivalent of the syntax
TF = A != B and returns a logical array set to
true where the corresponding elements of A and B are
not the same point in time, and false otherwise.
Both operands must be datetime arrays and either both have a time zone or
both be unzoned; zoned arrays are compared by their absolute instants, so
the two time zones may differ. A and B must be size
compatible. Not-A-Time is never equal to anything, so it compares as
true against everything, including another Not-A-Time, just like
NaN.
Source Code: datetime