I have two sets of data in .csv format which share a field called sku
. The second one has additional columns which need to be added to the first, but they have different sets of data, only some of which overlaps.
The only data that needs to be merged is for sku
s that already appear in the first. For example:
File 1
sku,foo
a,hello
b,world
File 2
sku,bar
a,0
b,1
c,2
d,3
would result in:
sku,foo,bar
a,hello,0
b,world,1
Is this possible?