I am just getting started with learning more about TensorFlow and numpy. I am currently using the Fashion MNIST dataset with TensorFlow which includes 10 types of clothing. However, I want to be able to edit the numpy arrays that contain these datasets to remove all images and labels that are not 'T-shirts' and 'Shirts' and 'Trousers'. Essentially I just want to create a dataset from Fashion MNIST with only those 3 types.
(train_images, train_labels), (test_images, test_labels) = tf.keras.datasets.fashion_mnist.load_data()
Above is how I am importing the dataset currently as so far I am understanding that there are a few different ways to import the dataset before preprocessing it. How do I make sure I correctly remove the labels and its corresponding pictures so that the resulting labels and images still correspond with each other?