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

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

Nobody has claimed this yet.

Assessment

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

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.

Description

topic: shape-typing
  • 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
Dominant language
Python
Stars
81
Forks
11
Avg merge
4h 53m
Merged PRs (30d)
7

Getting set up

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.

More from numpy/numtype

All issues in numpy/numtype

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.