Skip to content

Commit 415d8be

Browse files
attack68JulianWgs
authored andcommitted
DOC: add to_html to style.rst (pandas-dev#41692)
1 parent 2be72af commit 415d8be

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/source/reference/style.rst

+1
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@ Style export and import
6767
Styler.render
6868
Styler.export
6969
Styler.use
70+
Styler.to_html
7071
Styler.to_excel
7172
Styler.to_latex

pandas/io/formats/style.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -761,13 +761,13 @@ def to_html(
761761
----------
762762
buf : str, Path, or StringIO-like, optional, default None
763763
Buffer to write to. If ``None``, the output is returned as a string.
764-
table_uuid: str, optional
764+
table_uuid : str, optional
765765
Id attribute assigned to the <table> HTML element in the format:
766766
767767
``<table id="T_<table_uuid>" ..>``
768768
769769
If not given uses Styler's initially assigned value.
770-
table_attributes: str, optional
770+
table_attributes : str, optional
771771
Attributes to assign within the `<table>` HTML element in the format:
772772
773773
``<table .. <table_attributes> >``

0 commit comments

Comments
 (0)