If your index is autogenerated and you don’t want to keep it, you can use the ignore_index
option.
`
train_df = pd.concat(train_class_df_list, ignore_index=True)
This will autogenerate a new index for you, and my guess is that this is exactly what you are after.