diff options
author | warren <warren.weckesser@gmail.com> | 2022-08-18 15:16:45 -0400 |
---|---|---|
committer | warren <warren.weckesser@gmail.com> | 2022-08-18 15:20:55 -0400 |
commit | 2d1984adaa504c06214599f1bbe86be5589ae7e1 (patch) | |
tree | 012db4f1257af3501cd726a207be2893a2a7c22a /numpy/core/fromnumeric.py | |
parent | 5ae64753122ee06dc19656c33b8da2e20b6eba13 (diff) | |
download | numpy-2d1984adaa504c06214599f1bbe86be5589ae7e1.tar.gz |
DOC: More copy-editing of 'partition' docstring.
[skip actions] [skip travis] [skip azp]
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 31bd9b94b..e1c99e61f 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -678,12 +678,12 @@ def partition(a, kth, axis=-1, kind='introselect', order=None): Return a partitioned copy of an array. Creates a copy of the array with its elements rearranged in such a - way that the value of the element in k-th position is in the - position it would be in a sorted array. In the partitioned array, all - elements before the kth element are less than or equal to that element, - and all the elements after the kth element are greater than or equal - to that element. The ordering of the elements in the two partitions - is undefined. + way that the value of the element in k-th position is in the position + the value would be in a sorted array. In the partitioned array, all + elements before the k-th element are less than or equal to that + element, and all the elements after the k-th element are greater than + or equal to that element. The ordering of the elements in the two + partitions is undefined. .. versionadded:: 1.8.0 |