RecordComponent: full-ellipsis data[...]
Open
feature request
frontend: Python3
- Dominant language
- C++
- Stars
- 161
- Forks
- 59
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 7
Description
The syntax `data[...]` for a numpy array works as an alias for `data[()]`.
I thought I read in the python documentation that at least one axis needs to be specified with python ellipsis syntax, i.e. `data[42, ...]` which we support as well as `data[:, ...]`, but might have misread that.
Long story short: we should add support for `data[...]` in `Record_Component` because it works in `numpy`.
Work-around: use `data[()]` for now.
Contributor guide
Assessment
This issue has not been assessed yet.