text_plain_output_2.png application_vnd.jupyter.stderr_output_1.png
import os

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

Id = []
import numpy as np
import pandas as pd
import os
for dirname, _, filenames in os.walk('/kaggle/input/cassava-disease-classification/train'):
    for filename in filenames:
        Id.append(os.path.join(dirname, filename))
Id[:5]

sol_train = pd.DataFrame()
sol_train = sol_train.assign(filename=Id)
sol_train.head()