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

train_df = pd.read_csv('../input/fashion-mnist_train.csv')

test_df = pd.read_csv('../input/fashion-mnist_test.csv')

(train_df.shape, test_df.shape)

train_df = train_df.astype('float32')
test_df = test_df.astype('float32')

train_df.dtypes

y_train = X = train_df['label']
X_train = train_df.drop(columns='label', axis=1)

X_train.head()