intent: Numpy: cartesian product of x and y array points into single array of 2D points
rewritten_intent: cartesian product of `x` and `y` array points into single array of 2d points
snippet: numpy.dstack(numpy.meshgrid(x, y)).reshape(-1, 2)