Skip to content

Commit dc956e4

Browse files
committed
Tune description of dpnp.bincount
1 parent f43ede0 commit dc956e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/dpnp_iface_histograms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def bincount(x, weights=None, minlength=None):
325325
-------
326326
out : dpnp.ndarray of ints
327327
The result of binning the input array.
328-
The length of `out` is equal to ``np.amax(x) + 1``.
328+
The length of `out` is equal to ``dpnp.max(x) + 1``.
329329
330330
See Also
331331
--------
@@ -353,7 +353,7 @@ def bincount(x, weights=None, minlength=None):
353353
...
354354
TypeError: x must be an integer array
355355
356-
A possible use of ``bincount`` is to perform sums over
356+
A possible use of :obj:`dpnp.bincount` is to perform sums over
357357
variable-size chunks of an array, using the `weights` keyword.
358358
359359
>>> w = np.array([0.3, 0.5, 0.2, 0.7, 1., -0.6], dtype=np.float32) # weights

0 commit comments

Comments
 (0)