Skip to content

Row names for render.data_frame #1775

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cmfield opened this issue Nov 18, 2024 · 2 comments
Closed

Row names for render.data_frame #1775

cmfield opened this issue Nov 18, 2024 · 2 comments

Comments

@cmfield
Copy link

cmfield commented Nov 18, 2024

I don't think it's currently possible to show row names (or the index column names in pandas terms).
If there's a way to do it, please let me know, otherwise I guess this is a feature request!

@GiorgioMiglia
Copy link

You could simply add them as the first column of the dataframe. For pandas:

df.reset_index()

Shinylive example

@cmfield
Copy link
Author

cmfield commented Nov 20, 2024

This works, I suppose I can format them to look like the column headers - thanks.

@cmfield cmfield closed this as completed Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants