JuliaArrays / JuliaArrays/AxisArrays.jl
Allow out of bounds in `atindex` padding with `missing`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 207
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
I was thinking that often when takie atindex windows one can easily go out of bounds of the original Array (when one index is near the boundary). I was wondering whether it'd make sense to have "softer" atindex that returns arrays of eltype Union{T, Missing} and simply gives missing for the out of bound part.
Contributor guide
No contributing guide indexed for this repository
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
Start by locating the atindex implementation and its current out-of-bounds behavior. Clarify the proposed API for missing-padded windows and define tests covering the returned Union{T, Missing} arrays and boundary cases before implementing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100