pygwalker icon indicating copy to clipboard operation
pygwalker copied to clipboard

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

Open thienphuoc86 opened this issue 11 months ago • 3 comments

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'

thienphuoc86 avatar Mar 09 '24 08:03 thienphuoc86

There is no way to hide it currently.

longxiaofei avatar Mar 09 '24 08:03 longxiaofei

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

ObservedObserver avatar Mar 09 '24 08:03 ObservedObserver

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.

thienphuoc86 avatar Mar 09 '24 09:03 thienphuoc86