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

[DEV-501] Option to focus to Data tab #342

Closed
thienphuoc86 opened this issue Dec 5, 2023 · 4 comments
Closed

[DEV-501] Option to focus to Data tab #342

thienphuoc86 opened this issue Dec 5, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request fixed but needs feedback linear Created by Linear-GitHub Sync P2 will be fixed in two weeks
Milestone

Comments

@thienphuoc86
Copy link

thienphuoc86 commented Dec 5, 2023

I would like to request the feature Pygwalk has a option to focus to Data tab when it display.

DEV-501

@thienphuoc86 thienphuoc86 changed the title Option to focus to Data Tab Option to focus to Data tab Dec 5, 2023
@longxiaofei longxiaofei added enhancement New feature or request P2 will be fixed in two weeks labels Dec 5, 2023
@ObservedObserver ObservedObserver added the linear Created by Linear-GitHub Sync label Dec 7, 2023
@ObservedObserver ObservedObserver changed the title Option to focus to Data tab [DEV-501] Option to focus to Data tab Dec 7, 2023
@ObservedObserver ObservedObserver added this to the v.6 milestone Dec 7, 2023
@ObservedObserver ObservedObserver modified the milestones: v.6, v.7 Dec 17, 2023
@ObservedObserver ObservedObserver removed this from the v.7 milestone Jan 2, 2024
@longxiaofei longxiaofei self-assigned this Feb 2, 2024
@longxiaofei
Copy link
Member

Hi @thienphuoc86 .

Install new version:

pip install pygwalker==0.4.5

Run code:

pyg.walk(df, default_tab="data")

@thienphuoc86
Copy link
Author

Hi, Thanks develop team for this feature.
I tested and the pygwalker can focus to data tab now but there is problem when display the datatable.
I use pygwalker with streamlit and my code is below

            pyg_html = pyg.to_html(df, default_tab="data")
            components.html(pyg_html, height=1000, scrolling=True)

The datatable display as screenshot, you can see the format of first-row of the datatable is not same with the remain rows.
image

@ObservedObserver
Copy link
Member

Hi, @thienphuoc86

This is a new feature in pygwalker, it is a column value distribution preview. The "first row" shows the dirtribution, like top appearance values of the column.

image

@thienphuoc86
Copy link
Author

Hi Elwynn Chen,
Ohh, this feature is interesting, I like it.
But is there any option to hide it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed but needs feedback linear Created by Linear-GitHub Sync P2 will be fixed in two weeks
Projects
Status: Done
Development

No branches or pull requests

3 participants