Один из возможных способов сделать это:
import pandas as pd
import os
# File paths:
all_files_paths = [] # empty list to store your .csv file names
for i in os.listdir(r'C:\\Users\\John'): # directory where all your .csv file are
if i[:5] == 'shoes': # load only files starting with for example "shoes".
all_files_paths.append(i)
list_of_dataframes = [] # empty list to store the dataframes of your files
for i in range(len(all_files_paths)):
list_of_dataframes.append(pd.read_csv(os.path.join('C:\\Users\\John', all_files_paths[i])))
final_dataframe = pd.concat(list_of_dataframes, axis=1) # concatenating the different .csv files.
Существует много других опций при объединении, объединении или объединении файлов .csv, которые стоит изучить.