I need to combine multiple .csv files into one, they share most of the first column features, but the second column has variables, which change from file to file. My struggle: I want to make it so first column gets updated (appended?) every time I write on it, and the 2nd column has its features assigned to each of the 1st column, and also added on a new column, additively.
Example:
Dataset1.csv
plane1,100
plane2,100
plane3,400
plane5,600
plane4,700
Dataset2.csv
plane1,150
plane3,100
plane4,300
Dataset3.csv
plane3,300
plane4,250
plane6,180
I want them to end up as:
output.csv
plane1,100,150,-
plane2,100,-,-,-
plane3,400,100,300
plane4,700,300,250
plane5,600,-,-
plane6,-,-,180
Any help is appreciated.