Skip to content

Commit 567ae69

Browse files
committed
doc corrections
1 parent 8429f9a commit 567ae69

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/source/whatsnew/v0.20.2.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ I/O
5959
- Bug in pd.read_csv() when comment is passed in space deliminted text files (:issue:`16472`)
6060
- Bug that would force importing of the clipboard routines unnecessarily, potentially causing an import error on startup (:issue:`16288`)
6161
- Bug that raised IndexError HTML-rendering an empty DataFrame (:issue:`15953`)
62-
- Bug where ``DataFrame.to_html`` ignored the ``index_names`` parameter (:issue:`16493`)
62+
- Bug where ``DataFrame.to_html()`` ignored the ``index_names`` parameter (:issue:`16493`)
6363

6464

6565
Plotting

pandas/tests/io/formats/test_to_html.py

+1
Original file line numberDiff line numberDiff line change
@@ -1871,6 +1871,7 @@ def test_to_html_notebook_has_no_style(self):
18711871
assert "thead tr:only-child" not in result
18721872

18731873
def test_to_html_with_index_names_false(self):
1874+
# gh-16493
18741875
df = pd.DataFrame({"A": [1, 2]}, index=pd.Index(['a', 'b'],
18751876
name='myindexname'))
18761877
result = df.to_html(index_names=False)

0 commit comments

Comments
 (0)