Skip to content

DOC: add to_html to style.rst #41692

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/source/reference/style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ Style export and import
Styler.render
Styler.export
Styler.use
Styler.to_html
Styler.to_excel
Styler.to_latex
4 changes: 2 additions & 2 deletions pandas/io/formats/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -761,13 +761,13 @@ def to_html(
----------
buf : str, Path, or StringIO-like, optional, default None
Buffer to write to. If ``None``, the output is returned as a string.
table_uuid: str, optional
table_uuid : str, optional
Id attribute assigned to the <table> HTML element in the format:

``<table id="T_<table_uuid>" ..>``

If not given uses Styler's initially assigned value.
table_attributes: str, optional
table_attributes : str, optional
Attributes to assign within the `<table>` HTML element in the format:

``<table .. <table_attributes> >``
Expand Down