Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
mean of a vector in python
Ravi OpenSource
Programming language:
Python
2021-06-22 04:08:33
0
Q:
mean of a vector in python
Daniel
Code:
Python
2021-06-30 07:00:11
>>> import numpy >>> numbers = [3, 2, 8, 7] >>> mean = numpy.mean(numbers) >>> mean 5.0
1
Tags
python
vector
Related
numpy how to length of vector
numpy vector shape
python mean ndarray
how to calculate mean in python
numpy mean
p-norm of a vector python
vector in python
argmax in python
mean of a column pandas
what does * mean in python in functions
vectorize function python numpy
New to Communities?
Join the community