numpy / numpy/numtype

narrower dtypes in `numpy.lib._function_base_impl`

Open
#180 0 comments 0 reactions 0 assignees View on GitHub

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

  • angle
  • append
  • asarray_chkfinite
  • average
  • bartlett
  • bincount
  • blackman
  • copy
  • corrcoef - #526
  • cov - #526
  • delete
  • diff
  • digitize
  • extract
  • flip
  • gradient
  • hamming
  • hanning
  • i0
  • insert
  • interp
  • iterable
  • kaiser
  • median
  • meshgrid
  • percentile
  • piecewise
  • place
  • quantile
  • rot90
  • select
  • sinc
  • sort_complex
  • trapezoid
  • trapz
  • trim_zeros
  • unwrap
  • vectorize

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the numpy.lib._function_base_impl stubs and review the unchecked functions listed in the issue, noting how their current dtype annotations are specified. The work is complete when the listed functions have appropriately narrower dtypes, while corrcoef and cov remain coordinated with #526.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.