Formatting Python Notebook-generated table headers
So, referencing this post I was able to find some helpful docs on styling DataFrame tables:
However, neither one of those was able to help me with styling the table headers, which, look super gross :)
I am looking for a way to format the output table so that there is some amount of padding between header cells, changing the font, making them bold, etc. Any ideas? Thank you!
Hi Robby ! I know you've reached out via chat, but wanted to follow up here as well.
It seems like pandas doesn't provide native support for header styling. That said, you can definitely use a python library like plotly to dress your headers up! Check out this example report that takes a pandas dataframe and passes it to plotly for header styling. For more general dataframe styling, check out this gallery for more examples and inspiration.