VOOZH about

URL: https://www.geeksforgeeks.org/python/python-numpy-matrix-mean/

⇱ Python | Numpy matrix.mean() - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Python | Numpy matrix.mean()

Last Updated : 15 Apr, 2019
With the help of Numpy matrix.mean() method, we can get the mean value from given matrix.
Syntax : matrix.mean() Return : Return mean value from given matrix
Example #1 : In this example we can see that we are able to get the mean value from a given matrix with the help of method matrix.mean().
Output:
20.0
Example #2 :
Output:
5.0
Comment