Skip to content

Commit d92693b

Browse files
authored
Merge pull request numpy#17402 from rossbar/doc/add_arysetops
DOC: Add arraysetops to an autosummary
2 parents 0630be4 + d1d725b commit d92693b

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

doc/source/reference/routines.set.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ Set routines
33

44
.. currentmodule:: numpy
55

6+
.. autosummary::
7+
:toctree: generated/
8+
9+
lib.arraysetops
10+
611
Making proper sets
712
------------------
813
.. autosummary::

numpy/lib/arraysetops.py

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,17 @@
11
"""
22
Set operations for arrays based on sorting.
33
4-
:Contains:
5-
unique,
6-
isin,
7-
ediff1d,
8-
intersect1d,
9-
setxor1d,
10-
in1d,
11-
union1d,
12-
setdiff1d
13-
14-
:Notes:
4+
Notes
5+
-----
156
167
For floating point arrays, inaccurate results may appear due to usual round-off
178
and floating point comparison issues.
189
1910
Speed could be gained in some operations by an implementation of
20-
sort(), that can provide directly the permutation vectors, avoiding
21-
thus calls to argsort().
11+
`numpy.sort`, that can provide directly the permutation vectors, thus avoiding
12+
calls to `numpy.argsort`.
2213
23-
To do: Optionally return indices analogously to unique for all functions.
24-
25-
:Author: Robert Cimrman
14+
Original author: Robert Cimrman
2615
2716
"""
2817
import functools

0 commit comments

Comments
 (0)