Skip to content

Commit

Permalink
DOC: Rephrase docstring of in1d/isin
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jun 22, 2022
1 parent 408e611 commit c4aa5d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numpy/lib/arraysetops.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def in1d(ar1, ar2, assume_unique=False, invert=False, *, kind=None):
* If 'sort', will use a mergesort-based approach. This will have
a memory usage of roughly 6 times the sum of the sizes of
`ar1` and `ar2`, not accounting for size of dtypes.
* If 'table', will use a key-dictionary approach similar
* If 'table', will use a lookup table approach similar
to a counting sort. This is only available for boolean and
integer arrays. This will have a memory usage of the
size of `ar1` plus the max-min value of `ar2`. `assume_unique`
Expand Down Expand Up @@ -772,7 +772,7 @@ def isin(element, test_elements, assume_unique=False, invert=False, *,
* If 'sort', will use a mergesort-based approach. This will have
a memory usage of roughly 6 times the sum of the sizes of
`ar1` and `ar2`, not accounting for size of dtypes.
* If 'table', will use a key-dictionary approach similar
* If 'table', will use a lookup table approach similar
to a counting sort. This is only available for boolean and
integer arrays. This will have a memory usage of the
size of `ar1` plus the max-min value of `ar2`. `assume_unique`
Expand Down

0 comments on commit c4aa5d8

Please sign in to comment.