I have 2 csv datasets, each one with about 10k columns. The datasets are extracted from the same source, but the column sequence of these datasets is different (there are some new columns on the 2nd ds). So, I want to merge data of the 2nd dataset into the first one, keeping the column sequence of the first dataset. How can I do this?
Here follows an example:
Dataset 1:
Brand Year Model Price
Ford 2010 Taurus 5K
Toyota 2015 Yaris 4K
Dataset 2:
Brand Year Model Color Location Price
Chevrolet 2013 Spark Dark Gray PHI 2K
I would like to ignore the new columns (color, location) on the 2nd dataset and add the data with the same columns (brand, year, model, price) of the 2nd dataset into the first one.
Thanks in advance.