Answers for "calculate mean of numpy aarray"

-1

python mean ndarray

# define ndarray a
a = np.array([[1, 2], [3, 4]])
# get the mean 
np.mean(a, axis=None)
Posted by: Guest on April-07-2020

Code answers related to "calculate mean of numpy aarray"

Python Answers by Framework

Browse Popular Code Answers by Language