How to style the Dataframe table border colors

I tried all CSS hacks but not succeeded in overriding/applying the style for a dataframe table border colors .

Appreciate any help here

It’s difficult to modify the dataframe element directly through css since it is interactive element with a lot going on. I recommend using pandas stylers to modify the display. Or, if you want to give up the interactivity, convert your dataframe to html with the .to_html method.

https://pandas.pydata.org/docs/user_guide/style.html#Table-Styles

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.