VOOZH about

URL: https://www.geeksforgeeks.org/python/python-find-mean-of-a-list-of-numpy-array/

⇱ Python | Find Mean of a List of Numpy Array - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Python | Find Mean of a List of Numpy Array

Last Updated : 14 Mar, 2019
Given a list of Numpy array, the task is to find mean of every numpy array. Let's see a few methods we can do the task. Method #1: Using np.mean()
Output:
[2.0, 5.0, 8.0]
  Method #2: Using np.average()
Output:
[12.0, 15.0, 18.0]
Comment
Article Tags: