Skip to content

Commit 950e6ad

Browse files
committed
address further review comments
1 parent 020499d commit 950e6ad

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dpnp/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,6 @@
344344
iscomplexobj,
345345
isfinite,
346346
isfortran,
347-
isin,
348347
isinf,
349348
isnan,
350349
isneginf,
@@ -499,6 +498,7 @@
499498
unique_inverse,
500499
unique_values,
501500
)
501+
from .dpnp_iface_logic import isin
502502

503503
# -----------------------------------------------------------------------------
504504
# Sorting, searching, and counting
@@ -837,7 +837,6 @@
837837
"iscomplexobj",
838838
"isfinite",
839839
"isfortran",
840-
"isin",
841840
"isinf",
842841
"isnan",
843842
"isneginf",
@@ -983,6 +982,7 @@
983982

984983
# Set routines
985984
__all__ += [
985+
"isin",
986986
"unique",
987987
"unique_all",
988988
"unique_counts",

dpnp/dpnp_iface_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ def isin(
12211221
>>> element
12221222
array([[0, 2],
12231223
[4, 6]])
1224-
>>> test_elements = [1, 2, 4, 8]
1224+
>>> test_elements = np.array([1, 2, 4, 8])
12251225
>>> mask = np.isin(element, test_elements)
12261226
>>> mask
12271227
array([[False, True],

0 commit comments

Comments
 (0)