summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2019-12-07 06:58:53 -0700
committerTyler Reddy <tyler.je.reddy@gmail.com>2019-12-07 06:58:53 -0700
commit96eab839e721cfa0b11213c74dd80f14b2560179 (patch)
tree4406d507465c94e8f82ab1c0fb608b75b5ef3df0 /numpy/core/fromnumeric.py
parent95e570ca1de9a59e1fe478057c5921bbd6dd5f70 (diff)
downloadnumpy-96eab839e721cfa0b11213c74dd80f14b2560179.tar.gz
DOC: correct version for NaT sort
* NaT sorting to the end of arrays was adjusted in NumPy 1.18.0 instead of 1.17.0, so adjust sort() docs accordingly
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 286b0699e..f09f2a465 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -949,7 +949,7 @@ def sort(a, axis=-1, kind=None, order=None):
'mergesort' and 'stable' are mapped to radix sort for integer data types. Radix sort is an
O(n) sort instead of O(n log n).
- .. versionchanged:: 1.17.0
+ .. versionchanged:: 1.18.0
NaT now sorts to the end of arrays for consistency with NaN.