text_plain_output_1.png
"""
import os
import glob
import pandas as pd
#os.chdir("/mydir")
files = [i for i in glob.glob('/kaggle/input/one-year-industrial-component-degradation/*.{}'.format('csv'))]
files
extension = 'csv'
all_filenames = [i for i in glob.glob('/kaggle/input/one-year-industrial-component-degradation/*[mode1].{}'.format(extension))] +                 [i for i in glob.glob('/kaggle/input/one-year-industrial-component-degradation/oneyeardata/*[mode1].{}'.format(extension))]
#print(all_filenames)
#combine all files in the list
df = pd.concat([pd.read_csv(f) for f in all_filenames ])
#export to csv
df.to_csv( "combined_csv.csv", index=False, encoding='utf-8-sig')
"""