In the code below I want to enumerate the dataset, filter it to train and test data sets and drop the indexes created by enumerating:
Y = to_categorical(l