Skip to content

Commit

Permalink
Updated note comment in description
Browse files Browse the repository at this point in the history
  • Loading branch information
antonwolfy committed Apr 1, 2024
1 parent ce938e6 commit 1843b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpnp/dpnp_iface_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def nonzero(a):
Notes
-----
While the nonzero values can be obtained with ``a[nonzero(a)]``, it is
recommended to use ``x[x.astype(bool)]`` or ``x[x != 0]`` instead, which
recommended to use ``a[a.astype(bool)]`` or ``a[a != 0]`` instead, which
will correctly handle 0-d arrays.
Examples
Expand Down

0 comments on commit 1843b11

Please sign in to comment.