Collapsible attributes in _repr_html_
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.2k
- Forks
- 1.4k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 14
Description
Is your feature request related to a problem? Please describe.
I have a situation where I write a long list to the .attrs, which results in too long an output:
....
Describe the solution you'd like
Can the attribute output be changed to be displayed in the same way as the other variables? (collapsed to one line)
Describe alternatives you've considered
Perhaps I am misusing the attributes and this kind of data should instead be a data variable? (though I would not like that since this information is intended as metadata)
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 at the repr_html entry point and compare how attributes are rendered with the existing variable display. Reproduce the long .attrs example, then verify that attribute output is collapsed to one line while remaining expandable and that the HTML representation still renders correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100