solara icon indicating copy to clipboard operation
solara copied to clipboard

[Feature Request] solara DataFrame should handle pandas Styler

Open chaffra opened this issue 1 year ago • 3 comments

If you have a styled df = pandas.DataFrame().style, you can pass it as sdf = solara.DataFrame(df.data) but you loose the styling that was applied to df. So if columns were hidden by the styler, they are displayed again. It would be good for solara.DataFrame to reapply the style before when displaying sdf in a notebook for example.

chaffra avatar May 23 '23 15:05 chaffra