I want to merge multiple csv files stored in a single folder, and to add a column containing the name of each csv file on the rows that correspond to it. The files have identical numbers of columns and column names. For example:
File 1.csv Row 1, column 1: "a", row 1, column 2: "b"
File 2.csv Row 1, column 1: "c", row 1, column 2: "d"
Desired output:
Column 1 Column 2 Column 3
a. b. File 1.csv
c. d. File 2.csv