

def isin(self, values, level=None):
    '\n        Compute boolean array of whether each index value is found in the\n        passed set of values.\n\n        Parameters\n        ----------\n        values : set or sequence of values\n            Sought values.\n        level : str or int, optional\n            Name or position of the index level to use (if the index is a\n            MultiIndex).\n\n        Notes\n        -----\n        If `level` is specified:\n\n        - if it is the name of one *and only one* index level, use that level;\n        - otherwise it should be a number indicating level position.\n\n        Returns\n        -------\n        is_contained : ndarray (boolean dtype)\n\n        '
    if (values is not None):
        self._validate_index_level(level)
    return algos.isin(np.array(self), values)

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.isin/VarMisuse@20/255 `level`->`values`