diff options
author | Antony Lee <anntzer.lee@gmail.com> | 2021-02-09 22:26:51 +0100 |
---|---|---|
committer | Antony Lee <anntzer.lee@gmail.com> | 2021-02-09 22:28:02 +0100 |
commit | 3cb10bc7178b3a753d7cc1f81414a8ab94b92e64 (patch) | |
tree | 6080bcbe30a6a5317664acf387530b07472db1c7 /numpy/lib/utils.py | |
parent | 9f12028b9453c17b72b26355fd503e512af96a5d (diff) | |
download | numpy-3cb10bc7178b3a753d7cc1f81414a8ab94b92e64.tar.gz |
DOC: Fix docstring of _median_nancheck.
_median_nancheck doesn't support axis being anything other than an
integer (otherwise the call to moveaxis would fail). This is fine,
because median goes through _ureduce for multi-axis support.
Diffstat (limited to 'numpy/lib/utils.py')
-rw-r--r-- | numpy/lib/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py index f7e176cf3..9cf9c1e76 100644 --- a/numpy/lib/utils.py +++ b/numpy/lib/utils.py @@ -1015,8 +1015,8 @@ def _median_nancheck(data, result, axis, out): Input data to median function result : Array or MaskedArray Result of median function - axis : {int, sequence of int, None}, optional - Axis or axes along which the median was computed. + axis : int + Axis along which the median was computed. out : ndarray, optional Output array in which to place the result. Returns |