summaryrefslogtreecommitdiff
path: root/numpy/ma/extras.py
diff options
context:
space:
mode:
authorastaric <anze.staric@gmail.com>2014-01-29 10:44:14 +0100
committerastaric <anze.staric@gmail.com>2014-01-29 10:44:14 +0100
commitb58a854359d06dd5a61cf236c328a2aefc8ecce4 (patch)
treeedf2c65207808bd652d25df7295bc092e5855000 /numpy/ma/extras.py
parentc159cb078b4069ba8fdeddedb0ee7f01dd0656d2 (diff)
downloadnumpy-b58a854359d06dd5a61cf236c328a2aefc8ecce4.tar.gz
DOC: Fix description of ma.average parameter.
Replace mention of variance in numpy.ma.average doc string with average.
Diffstat (limited to 'numpy/ma/extras.py')
-rw-r--r--numpy/ma/extras.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/extras.py b/numpy/ma/extras.py
index d14812093..058bde710 100644
--- a/numpy/ma/extras.py
+++ b/numpy/ma/extras.py
@@ -448,8 +448,8 @@ def average(a, axis=None, weights=None, returned=False):
Data to be averaged.
Masked entries are not taken into account in the computation.
axis : int, optional
- Axis along which the variance is computed. The default is to compute
- the variance of the flattened array.
+ Axis along which the average is computed. The default is to compute
+ the average of the flattened array.
weights : array_like, optional
The importance that each element has in the computation of the average.
The weights array can either be 1-D (in which case its length must be