I have two datasets in an array:
arr1 = [ ['2011-10-10', 1, 1], ['2007-08-09', 5, 3], ... ] arr2 = [ ['2011-10-10', 3, 4], ['2007-09-05', 1, 1], ... ]
I want to combine them into one array as follows:
arr3 = [ ['2011-10-10', 1, 1, 3, 4], ... ]
I mean, just combine these rows with the same date column.
EDIT
Thanks to everyone, just for clarification, I do not need those lines that do not appear in both arrays, just drop them.
MrROY source share