def _in(x, y):
    """Compute the vectorized membership of ``x in y`` if possible, otherwise
    use Python.
    """
    try:
        return x.isin(y)
    except AttributeError:
        if com.is_list_like(x):
            try:
                return y.isin(x)
            except AttributeError:
                pass
        return y in x
dataset/ETHPy150Open pydata/pandas/pandas/computation/ops.py/_in/swapped operands of `in`