I have a folder that contains multiple files like that:
output_1_NS.csv
output_1.csv
output_2_NS - output_2.csv
output_2.csv
...
output_67.csv
I want to read in all the files with the string 'NS' contained in the file name. The end product should be one dataframe with all the files containing 'NS' appended together.
How may I do this efficiently?
Thank you!