application_vnd.jupyter.stderr_output_2.png text_plain_output_3.png text_plain_output_1.png
import matplotlib.pyplot as plt

import numpy as np

import pandas as pd

train = pd.read_csv('../input/emnist-balanced-train.csv', header=None)

test = pd.read_csv('../input/emnist-balanced-test.csv', header=None)

train_data = train.values[:, 1:]
train_labels = train.values[:, 0]
test_data = test.values[:, 1:]
test_labels = test.values[:, 0]

img_flip = np.transpose(train_data[8].reshape(28, 28), axes=[1, 0])
plt.imshow(img_flip, cmap='Greys_r')
plt.show()