I have multiple csv files with 2 columns each:
I want both these columns from all csv files to be copied into a single csv file as shown below:

My code is as follows but I was only able to copy the last columns of each csv file (which would be the peak columns) into one file. I also need the time column of each file into the new one. I don't know how I could copy all the contents in one file. Is there a way to do it ? Please let me know.
for col in columns:
filelist = [ 'Peakvalues_no_iso_' + col + '_100.csv',
'Peakvalues_no_iso_' + col + '_350.csv',]
result = pd.DataFrame()
for f in filelist:
df = pd.read_csv(f)
last_col = df.columns[-1]
result = result.join(df[last_col], how='outer')
result.reset_index(inplace=True)
# Converting result DF into a csv file
result.to_csv('Peak_noiso_' + col + '.csv', index=False)
