Skip to content

Commit 393de0a

Browse files
authored
DOC: Clarify obj parameter types in numpy.delete documentation (numpy#27595)
* Clarify obj parameter types in numpy.delete documentation * clarify-obj-param-numpy-delete * Clarify obj parameter types in numpy.delete documentation * Update numpy.delete docstring for clarity [skip azp] [skip actions] [skip cirrus] * Update numpy.delete docstring to make sure obj contains all types [skip azp] [skip actions] [skip cirrus] * Update numpy.delete and numpy.insert docstring about param obj [skip azp] [skip actions] [skip cirrus] * Revert "Update numpy.delete and numpy.insert docstring about param obj [skip azp] [skip actions] [skip cirrus]" This reverts commit c1da99e.
1 parent d315181 commit 393de0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numpy/lib/_function_base_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5198,7 +5198,7 @@ def delete(arr, obj, axis=None):
51985198
----------
51995199
arr : array_like
52005200
Input array.
5201-
obj : slice, int or array of ints
5201+
obj : slice, int, array-like of ints or bools
52025202
Indicate indices of sub-arrays to remove along the specified axis.
52035203
52045204
.. versionchanged:: 1.19.0

0 commit comments

Comments
 (0)