numpy / numpy/numtype

improve shape-typing in `numpy._core.fromnumeric`

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

Nobody has claimed this yet.

topic: shape-typing
Dominant language
Python
Stars
79
Forks
8
PR merge metrics
No merged PRs in 30d

Description

  • shape
  • ndim
  • size
  • reshape
  • resize
  • squeeze
  • ravel
  • swapaxes
  • repeat
  • transpose
  • matrix_transpose
  • take
  • choose
  • partition
  • compress
  • sort
  • argsort
  • argmax
  • argmin
  • [a]max
  • [a]min
  • ptp
  • nonzero
  • searchsorted
  • diagonal
  • trace
  • clip
  • [a]round
  • sum
  • prod
  • mean
  • var
  • std
  • cumsum
  • cumprod
  • cumulative_sum
  • cumulative_prod
  • all
  • any

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 by inspecting the typing for numpy._core.fromnumeric and the unchecked functions listed in the issue. Determine the intended shape typing for each function and how completion will be verified; done means the listed checklist items have been addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.