text_html_output_1.png
import pandas as pd

df_train = pd.read_csv('/kaggle/input/data/BBox_List_2017.csv')

df_train = df_train.rename(columns={'Image Index': 'filename', 'Bbox [x': 'x', 'h]': 'h', 'Finding Label': 'class'})

df_train = df_train.drop(['Unnamed: 6', 'Unnamed: 7', 'Unnamed: 8'], axis=1)

df_train.head()