@property
    def return_type(self):
        operand = self.operand
        if operand.return_type == np.dtype('bool'):
            return np.dtype('bool')
        if (isinstance(operand, Op) and
                (_cmp_ops_dict in operand.op or operand.op in _bool_ops_dict)):
            return np.dtype('bool')
        return np.dtype('int')
dataset/ETHPy150Open pydata/pandas/pandas/computation/ops.py/UnaryOp.return_type/swapped operands of `in`