I have seen numerous examples of how to combine CSV files, but none quite fit what I am trying to accomplish. I have multiple CSV files that only contain 1 row, but multiple columns. Each header may differ in each CSV, but they do have a common column name between them. The output I want to accomplish is to add all headers from each CSV file (regardless of whether the shown value is null or not) to row 1 of my output CSV file. Then I want to align each CSV's single row output to a row in the output CSV file, and populate each column accordingly, and leave those empty that have no values assigned.
CSV1:
Name,Date,Year,Country Bill,May 2018,1962,Canada
CSV2:
Profile,Prov,Size,Name 1,ON,14,Steve
CSV Final:
Name,Profile,Size,Date,Year,Prov,Country Bill,,,May 2018,1962,,Canada Steve,1,14,,,ON,,