Array API Compatibility as a separate section?

Open
#610 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Review scipy/scipy#22609 and the proposed documentation example to understand the intended Array API compatibility information. A complete outcome would define whether this belongs in a separate section, what it should be called, and how it should be represented in numpydoc documentation.

Written by the indexing model from the issue text.

Description

In scipy/scipy#22609, we're working on documenting support for array arguments beyond NumPy ndarrays. We're thinking of including something like this in the documentation of each class/function/method:

Image

Initially, we would probably put this sort of information in the Notes section, but as the ecosystem moves to support more backends, it was proposed that it might deserve a separate "Array API Compatibility" (or similar) section of the notes. Thoughts on adding such a section?

Dominant language
Python
Stars
354
Forks
185
Avg merge
4m
Merged PRs (30d)
1

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/numpydoc

All issues in numpy/numpydoc

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.