NumPy > Fancy array indexing

Name
Code
Output
array = numpy.random.randint(10, size=(3, 3))
print ("array \n",array)
print ("fancy diagonal indexing \n", array[[0,1,2],[0,1,2]])
array 
 [[9 7 0]
 [9 7 3]
 [0 7 2]]
fancy diagonal indexing 
 [9 7 2]