initialize array in python numpy code example Example: initialize np array an_array = np.empty((2, 2))