8000 DOC: clarify int type constraint in numpy.bincount by onitake · Pull Request #23552 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: clarify int type constraint in numpy.bincount #23552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
DOC: clarified what the native index type is
  • Loading branch information
onitake committed May 11, 2025
commit ace6dbd8ad628039f2370a1559dc5954884b35a5
2 changes: 1 addition & 1 deletion numpy/_core/multiarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ def bincount(x, weights=None, minlength=None):
values, or if `minlength` is negative.
TypeError
If the type of the input is float or complex, or larger than the
native array index type.
native array index type (which is equivalent to `np.intp`).

See Also
--------
Expand Down
Loading
0