def remove_indices(iterable, ignored_indices):
    """
    Filter the given ``iterable`` by removing listed in ``ignored_indices``.
    """
    return [v for i, v in enumerate(iterable) if i not in ignored_indices]