NumPy > Array calculate average

Name
Code
Output
array = numpy.random.randint(5, size=(3, 4))
print ("array \n",array)
result = numpy.average(array)
print ("average result:",result)
array 
 [[0 1 0 1]
 [0 4 2 1]
 [4 1 2 1]]
average result: 1.41666666667