From 2d1984adaa504c06214599f1bbe86be5589ae7e1 Mon Sep 17 00:00:00 2001 From: warren Date: Thu, 18 Aug 2022 15:16:45 -0400 Subject: DOC: More copy-editing of 'partition' docstring. [skip actions] [skip travis] [skip azp] --- numpy/core/fromnumeric.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'numpy/core/fromnumeric.py') 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 -- cgit v1.2.1