lincc-frameworks / lincc-frameworks/nested-pandas
Optimize performance of NestedExtensionArray[...] = ...
Open
Nobody has claimed this yet.
enhancement
performance
- Dominant language
- Python
- Stars
- 26
- Forks
- 8
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 9
Description
`NestedExtensionArray.__setitem__`'s performance may be improved for a case of a highly-chunked pyarrow array, when just few chunks are being assigned to. In this case the rest of the chunks are going to be reused.
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 at NestedExtensionArray.__setitem__ and inspect how assignments traverse highly-chunked pyarrow arrays. Verify the behavior for assignments touching only a few chunks, with the unaffected chunks reused and the optimized case showing improved performance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- data, performance
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100