push inline formatting functions upstream
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 14
Description
#4248 added a _repr_inline_ method duck arrays can use to customize their collapsed variable repr.
We currently also have inline_dask_repr and inline_sparse_repr which remove redundant information like dtype and shape from dask and sparse arrays.
In order to reduce the complexity of inline_variable_array_repr, we could try to push these functions upstream.
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
Start with the issue #4248 change and the inline_variable_array_repr, inline_dask_repr, and inline_sparse_repr entry points. Review the duck-array _repr_inline_ documentation and determine how the redundant-information removal could be moved upstream. Done means the upstream interfaces provide the needed behavior and inline_variable_array_repr no longer carries that complexity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- developer-experience
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100