pandas.DataFrame.to_html() does not provide an option to remove all styling attributes #13887
Labels
Duplicate Report
Duplicate issue or pull request
IO HTML
read_html, to_html, Styler.apply, Styler.applymap
DataFrame.to_html() renders by default a table element with a border='1' attribute. The text-align style attribute on the is also set to "right".
Even if it is easy to override by code or CSS, it should be good to have an option that removes or clear all styling attributes on the generated table. For example df.to_html(no_style=True)
Cheers,
Mikaël
The text was updated successfully, but these errors were encountered: