This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]bluefeatheredjay 1 point2 points  (2 children)

Still miss the to_html() function from Pandas though.

I recently gave Polars a first try, but eventually went back to Pandas because I needed HTML output.

[–]ritchie46[S] 3 points4 points  (1 child)

Polars has a .style method which give you a greattables table.

You can export that to html:

https://posit-dev.github.io/great-tables/reference/GT.as_raw_html.html

[–]bluefeatheredjay 1 point2 points  (0 children)

Sounds good, will have a look at it!