Bool value of np.NaN is True. Then why and/or operation behaves so random in python.
bool(np.nan) == True
If True or np.nan evaluates to True then why does np.nan or True evaluate to nan? And this is completely reverse for and operation:
True and np.nan is nan while np.nan and True is True.