Kanaries / pygwalker

PyGWalker: Turn your pandas dataframe into an interactive UI for visual analysis
https://kanaries.net/pygwalker
Apache License 2.0
11.08k stars 570 forks source link

How to hide the first row "preview" in data tab #475

Open thienphuoc86 opened 6 months ago

thienphuoc86 commented 6 months ago

Hi team, I would like to hide the first row that shows the dirtribution in data tab. How to do that? I tried set use_preview = False but it's not working.

walker = pyg.to_html(df,default_tab="data",use_preview=False)

Error return TypeError: pygwalker.api.pygwalker.PygWalker() got multiple values for keyword argument 'use_preview'

longxiaofei commented 6 months ago

There is no way to hide it currently.

ObservedObserver commented 6 months ago

Hi, @thienphuoc86. Currently, it is not supported to hide the distribution column. Cloud you share more about your usecases and why you want to hide it, so we may start a feature proposal for it. Thanks.

Related feature screen shot of current version for new pygwalker users that are interested in this discussion

pygwalker-data-preview
thienphuoc86 commented 6 months ago

Hi, @thienphuoc86. Currently, it is not supported to hide the distribution column. Cloud you share more about your usecases and why you want to hide it, so we may start a feature proposal for it. Thanks.

Hi, the data tab will be more clean, clear and we just focus to the data if without the distribution row. So, it would be nice to have an option to hide it. Thank you for listening.