File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -3205,9 +3205,13 @@ def to_html(
3205
3205
Convert the characters <, >, and & to HTML-safe sequences.
3206
3206
notebook : {True, False}, default False
3207
3207
Whether the generated HTML is for IPython Notebook.
3208
- border : int
3209
- A ``border=border`` attribute is included in the opening
3210
- `<table>` tag. Default ``pd.options.display.html.border``.
3208
+ border : int or bool
3209
+ When an integer value is provided, it sets the border attribute in
3210
+ the opening tag, specifying the thickness of the border.
3211
+ If ``False`` or ``0`` is passed, the border attribute will not
3212
+ be present in the ``<table>`` tag.
3213
+ The default value for this parameter is governed by
3214
+ ``pd.options.display.html.border``.
3211
3215
table_id : str, optional
3212
3216
A css id is included in the opening `<table>` tag if specified.
3213
3217
render_links : bool, default False
Original file line number Diff line number Diff line change @@ -897,9 +897,13 @@ def to_html(
897
897
``<table>`` tag, in addition to the default "dataframe".
898
898
notebook : {True, False}, optional, default False
899
899
Whether the generated HTML is for IPython Notebook.
900
- border : int
901
- A ``border=border`` attribute is included in the opening
902
- ``<table>`` tag. Default ``pd.options.display.html.border``.
900
+ border : int or bool
901
+ When an integer value is provided, it sets the border attribute in
902
+ the opening tag, specifying the thickness of the border.
903
+ If ``False`` or ``0`` is passed, the border attribute will not
904
+ be present in the ``<table>`` tag.
905
+ The default value for this parameter is governed by
906
+ ``pd.options.display.html.border``.
903
907
table_id : str, optional
904
908
A css id is included in the opening `<table>` tag if specified.
905
909
render_links : bool, default False
You can’t perform that action at this time.
0 commit comments