text_plain_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

fashion_mnist_df = pd.read_csv('/kaggle/input/fashionmnist/fashion-mnist_train.csv')

fashion_mnist_df = fashion_mnist_df.sample(frac=0.3).reset_index(drop=True)

import matplotlib.pyplot as plt
LOOKUP = {0: 'T-shirt', 1: 'Trouser', 2: 'Pullover', 3: 'Dress', 4: 'Coat', 5: 'Sandal', 6: 'Shirt', 7: 'Sneaker', 8: 'Bag', 9: 'Ankle boot'}

def display_image(features, actual_label):
    pass

X = fashion_mnist_df[fashion_mnist_df.columns[1:]]
Y = fashion_mnist_df['label']

display_image(X.loc[15].values, Y.loc[15])