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