numpy empty array

import numpy as np

n = 2
X = np.empty(shape=[0, n])

for i in range(5):
    for j  in range(2):
        X = np.append(X, [[i, j]], axis=0)

print X

Here is what the above code is Doing:
1. Create an empty array with shape (0, n)
2. For each i in range(5):
a. For each j in range(2):
i. Append the array [i, j] to X