NumPy > Create array view

Name
Code
Output
array = numpy.random.randint(10, size=(2, 3))
print ("original array \n",array)
view = array[1,]
print("array view \n",view)
array[:,:] = array + 1
print("view after array update \n",view)
original array 
 [[7 0 0]
 [6 2 3]]
array view 
 [6 2 3]
view after array update 
 [7 3 4]