@property
    def return_type(self):
        # clobber types to bool if the op is a boolean operator
        if (_cmp_ops_syms + _bool_ops_syms) in self.op:
            return np.bool_
        return _result_type_many(*(term.type for term in com.flatten(self)))
dataset/ETHPy150Open pydata/pandas/pandas/computation/ops.py/Op.return_type/swapped operands of `in`