pydata / pydata/xarray

Integrate Treescope into Xarray's interactive HTML repr

Open
#9,324 6 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement topic-html-repr
Dominant language
Python
Stars
4.2k
Forks
1.4k
Avg merge
2d 15h
Merged PRs (30d)
14

Description

Treescope is a interactive HTML pretty-printer for multi-dimensional arrays:
https://github.com/google-deepmind/treescope

With Treescope, instead of looking at this:
image

You could be looking at this:
image

Could we integrate this into Xarray's HTML repr? This could be a big step-up over printing the NumPy repr for array values!

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

The issue names no Xarray files or tests; start by reading the existing interactive HTML repr and Treescope's documentation and examples. Define the integration boundary, supported array cases, and expected HTML output, then add coverage for the repr before considering the work done.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.