Arbitrary axis order?
Open
Nobody has claimed this yet.
discussion
enhancement
- Dominant language
- Python
- Stars
- 668
- Forks
- 141
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 4
Description
I just feel it could be beneficial to have an arbirary array order created when creating an array.
Upsides:
- It can be made so that indexing/reducing is faster along any given dimensions, as well as a number of other operations.
Downsides:
- It will touch all
sort_indicescalls and also all cases where we linearize. Mixed orders will need to be handled carefully.
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
The issue does not name files or tests; begin by locating the sort_indices calls and the code paths that linearize arrays. Establish how an arbitrary axis order would be represented and how mixed orders should interact before implementation. Done means the supported operations handle the new order without incorrect indexing or reduction behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100