diff options
author | Ralf Gommers <ralf.gommers@googlemail.com> | 2012-05-05 21:16:13 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2012-07-07 14:48:49 +0200 |
commit | 2c9981b61ca56b41a5e7b9fbe785b6b54727aea4 (patch) | |
tree | 30f093eeef4682ef9eadddfe98e3c4ef5280a244 /numpy/lib | |
parent | 3445712afcd71d2a3d61973de45aa94c38613dd5 (diff) | |
download | numpy-2c9981b61ca56b41a5e7b9fbe785b6b54727aea4.tar.gz |
DOC: merge wiki edits. Add percentile to statistics routines (ML suggestion).
Diffstat (limited to 'numpy/lib')
-rw-r--r-- | numpy/lib/function_base.py | 7 | ||||
-rw-r--r-- | numpy/lib/npyio.py | 3 |
2 files changed, 5 insertions, 5 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index f3df3b96b..6a457010b 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -1316,9 +1316,10 @@ def place(arr, mask, vals): """ Change elements of an array based on conditional and input values. - Similar to ``np.copyto(arr, vals, where=mask)``, the difference is that `place` - uses the first N elements of `vals`, where N is the number of True values - in `mask`, while `copyto` uses the elements where `mask` is True. + Similar to ``np.copyto(arr, vals, where=mask)``, the difference is that + `place` uses the first N elements of `vals`, where N is the number of + True values in `mask`, while `copyto` uses the elements where `mask` + is True. Note that `extract` does the exact opposite of `place`. diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py index cb14e4963..b1e891f77 100644 --- a/numpy/lib/npyio.py +++ b/numpy/lib/npyio.py @@ -470,8 +470,7 @@ def savez(file, *args, **kwds): -------- save : Save a single array to a binary file in NumPy format. savetxt : Save an array to a file as plain text. - numpy.savez_compressed : Save several arrays into a compressed .npz file - format + savez_compressed : Save several arrays into a compressed .npz file format Notes ----- |