Skip to content
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

Output resizable table in Jupyter notebooks #219

Open
alllex opened this issue Jan 13, 2023 · 3 comments
Open

Output resizable table in Jupyter notebooks #219

alllex opened this issue Jan 13, 2023 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation (not KDocs) enhancement New feature or request
Milestone

Comments

@alllex
Copy link
Contributor

alllex commented Jan 13, 2023

Currently, if dataframe cells contain text that is longer than a specific length, it gets truncated without the possibility to view the whole values. This makes it really hard to work with such dataframes.

image

If it's not possible or too involved to create resizable tables, then there should at least be a workaround to be able to adjust the width of the columns from the code.

@alllex
Copy link
Contributor Author

alllex commented Jan 13, 2023

After some digging I found an answer on how to manually change the content length for cell rendering. I submitted a PR to improve the docs in this regard:

However, this requires knowing in advance what is the suitable size for the content. Having the ability to change this dynamically via UI would still be preferrable.

@alllex alllex closed this as completed Jan 13, 2023
@alllex alllex reopened this Jan 13, 2023
@Jolanrensen Jolanrensen added documentation Improvements or additions to documentation (not KDocs) enhancement New feature or request good first issue Good issues to pick-up for newcomers labels Jan 16, 2023
@Jolanrensen Jolanrensen added this to the 0.10.0 milestone Jan 16, 2023
@Jolanrensen
Copy link
Collaborator

We plan to focus our Jupyter support more on the Kotlin Notebook Intellij plugin (#171) and Datalore notebooks that (will) have better tables overall. But thanks for letting us know!

@koperagen
Copy link
Collaborator

koperagen commented Jan 16, 2023

It's not the best, but you can hold mouse over cell and it should show tooltip with it's content.
I think the issue is worth keeping open until it's actually adressed. With interactive widget that are now supported in notebooks it should be possible to make dataFrameConfig.display adjustable inplace. We might implement it way sooner than proper rendering of hierarhical tables in IntelliJ

@koperagen koperagen reopened this Jan 16, 2023
@Jolanrensen Jolanrensen modified the milestones: 0.10.0, 0.11.0 Apr 25, 2023
@ermolenkodev ermolenkodev modified the milestones: 0.11.0, Backlog Jun 12, 2023
@zaleslaw zaleslaw removed the good first issue Good issues to pick-up for newcomers label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation (not KDocs) enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants