pydata / pydata/xarray

Add encoding to HTML repr

Open
#4,817 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic-html-repr
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.
.encoding is somewhat hidden since we don't show it in a repr.

Describe the solution you'd like
I think it'd be nice to add it to the HTML repr, collapsed by default.

Contributor guide

Open the contributing guide

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 by locating xarray's HTML repr implementation and inspect how existing sections are rendered and collapsed. Add the encoding information to that representation with the collapsed-by-default behavior, then verify the HTML repr shows it correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, python
Domain
frontend
Issue type
Feature
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.