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