improve shape-typing and returned dtypes in `numpy._core.numeric`
Open
Nobody has claimed this yet.
stubs: Enhancement
topic: shape-typing
- Dominant language
- Python
- Stars
- 79
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
-
onesandfull -
zeros_like,ones_like, andfull_like -
count_nonzero(only dtypes) -
argwhere(only shape-typing) -
correlateandconvolve(only dtypes) -
cross -
outer(only dtypes) -
tensordot -
roll -
rollaxis -
moveaxis -
indices -
identity -
isclose(only shape-typing) -
astype(only dtypes)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the typing stubs for numpy._core.numeric and review the listed functions, beginning with the smaller shape-typing or dtype-only items. Compare each function's current annotations with its intended shape and returned-dtype behavior; done means the checklist items have accurate annotations across the named functions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100