lincc-frameworks / lincc-frameworks/nested-pandas

Optimize performance of NestedExtensionArray[...] = ...

Open
#53 0 comments 0 reactions 0 assignees View on GitHub

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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.