holoviz / holoviz/hvplot

table plotted from a dataframe does not use custom indices but replaces row headers with integer indices.

Open
#1,734 1 comment 0 reactions 0 assignees View on GitHub
TRIAGE
Dominant language
Python
Stars
1.4k
Forks
124
Avg merge
1d 18h
Merged PRs (30d)
1

Description

#### Is your feature request related to a problem? Please describe.
I expected to have a simple way to customize row headers in a table.

#### Describe the solution you'd like
I would prefer row index values (which could be strings or dates) to be rendered as row headers.

#### Describe alternatives you've considered
I've used panel module table as a workaround.

#### Additional context
Add any other context or screenshots about the feature request here.

I have set up a test project here (https://github.com/guziy/hvplot-table-issue) to generate two html tables using the two ways and compare. Below are the screenshots:

* `hvplot`


Image


* `panel.pane.DataFrame`

Image

Contributor guide

Open the contributing guide

Research direction

Reproduce the two HTML tables from the linked hvplot-table-issue test project, comparing hvplot with panel.pane.DataFrame. Trace the dataframe table entry point and determine where the custom string or date index is replaced by integer row headers. Done means hvplot renders the dataframe index as the table's row headers, matching the requested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.