NumPy > Array element-wise comparison to scalar

Name
Code
Output
array = numpy.random.randint(10, size=(2, 3))
print ("array \n",array)
result = (array < 5)
print ("comparison result \n",result)
array 
 [[3 6 5]
 [0 7 1]]
comparison result 
 [[ True False False]
 [ True False  True]]