Having an empty array
x = numpy.empty(0)
And two lists that looks like this
l1 = [1, 2, 3]
l2 = [4, 5, 6]
how do i add to the empty array the lists so that it becomes something like this
np.array([[1, 2, 3], [4, 5, 6])
instead of
np.array([1, 2, 3, 4, 5, 6])
which is what happens when i use
x = np.append(x, l1)
x = np.append(x, l2)