Remove list of indices from a list in Python,"[element for i, element in enumerate(centroids) if i not in index]"