short: what is the best way to delete element from ClassLablel in a way ids are not distorted.
long: I need to subset my dataset and exclude a few classes that are not relevant;
Currently I do
new_class_label_feature = ClassLabel(names=new_labels)
new_features['tag'] = new_class_label_feature
which excludes the labels from the name, but does not update the order of IDs. for example if I exclude the first 5 element out of 25 labels, the maximum value of ID stay 25, and IDs start looks like {5, 6,7,8 …25} instead of {1,2,…20}