Skip to content

Commit 10401f1

Browse files
committed
address further review comments
1 parent c6f97a2 commit 10401f1

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,
@@ -498,6 +497,7 @@
498497
unique_inverse,
499498
unique_values,
500499
)
500+
from .dpnp_iface_logic import isin
501501

502502
# -----------------------------------------------------------------------------
503503
# Sorting, searching, and counting
@@ -836,7 +836,6 @@
836836
"iscomplexobj",
837837
"isfinite",
838838
"isfortran",
839-
"isin",
840839
"isinf",
841840
"isnan",
842841
"isneginf",
@@ -981,6 +980,7 @@
981980

982981
# Set routines
983982
__all__ += [
983+
"isin",
984984
"unique",
985985
"unique_all",
986986
"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)