text_html_output_1.png
import matplotlib.pyplot as plt

import numpy as np # linear algebra

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

train_data = pd.read_csv('/kaggle/input/Kannada-MNIST/train.csv')

train_data.isnull().sum().sum()

fig, ax = plt.subplots(5, 5, figsize=(8, 8))
for i in range(5):
    for j in range(5):
        ax[i][j].axis('off')
        ax[i][j].imshow(train_data.iloc[[i + j * 5], 1:].to_numpy().astype(np.uint8).reshape(28, 28), cmap='gray')
plt.show()