def METHOD_NAME(self, data, indexes):
    '''remove the indexes from the list'''
    if type(data) == np.ndarray:
        mask = np.ones(len(data), bool)
        mask[indexes] = False
        return data[mask]
    is_tuple = False
    if type(data) == tuple:
        data = list(data)
        is_tuple = True
    if type(data) == list:
        out_data = data.copy()
        m_indexes = indexes.copy()
        for idx, index in enumerate(indexes):
            if index < 0:
                m_indexes[idx] = len(out_data)-abs(index)
        for i in sorted(set(m_indexes), reverse=True):
            if -1 < i < len(out_data):
                del out_data[i]
        if is_tuple:
            return tuple(out_data)
        else:
            return out_data
    if type(data) == str:
        return ''.join([d for idx, d in enumerate(data) if idx not in indexes])
    else:
        return None