mix the weight and date arrays into one