I have two csv files.
one.csv:
1, 12.1455675, -13.1287564, 23, 9, 4.5, 4
2, 12.5934593, -13.0856385, 14, 5, 9.7, 6
3, 12.0496204, -13.8938582, 14, 6, 3.4, 9
4, 12.1456084, -12.1939589, 45, 2, 3.4, 8
two.csv:
9, 12.0496, -13.8939, .3, 55
3, 12.1456, -13.1288, 3.4, 9
What I want to do is match the two csv files based on columns one and two. I want another csv file that has the matched columns 1 and 2, but also includes the corresponding 3rd column values from two.csv and 6th column values from one.csv. Like this:
12.0496, -13.8939, 55, 3.4
12.1456, -12.1288, 9, 4.5
I am unsure how to go about this especially when some of the values in two.csv are rounded.
Any help is greatly appreciated!