text_plain_output_2.png text_plain_output_1.png
import os

import pandas as pd

train = '/kaggle/input/rice-image-dataset/Rice_Image_Dataset'
file_names = os.listdir(train)
pd.DataFrame(file_names, columns=['Names'])

files = []
for file in file_names:
    if file == 'Rice_Citation_Request.txt':
        continue
    files.append(file)
files