Skip to content

Commit 41fe8cd

Browse files
committed
review changes
1 parent 873ea58 commit 41fe8cd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

doc/source/whatsnew/v0.20.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ Other enhancements
154154
- ``pandas.tools.hashing`` has gained a ``hash_tuples`` routine, and ``hash_pandas_object`` has gained the ability to hash a ``MultiIndex`` (:issue:`15224`)
155155
- ``Series/DataFrame.squeeze()`` have gained the ``axis`` parameter. (:issue:`15339`)
156156
- ``DataFrame.to_excel()`` has a new ``freeze_panes`` parameter to turn on Freeze Panes when exporting to Excel (:issue:`15160`)
157+
- ``pd.read_html()`` parses multiple header rows, creating a multiindex header. (:issue:`13434`).
157158

158159
.. _ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations
159160

pandas/tests/io/test_html.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,7 @@ def test_keep_default_na(self):
761761
tm.assert_frame_equal(expected_df, html_df)
762762

763763
def test_multiple_header_rows(self):
764+
# Issue #13434
764765
expected_df = DataFrame(data=[("Hillary", 68, "D"),
765766
("Bernie", 74, "D"),
766767
("Donald", 69, "R")])
@@ -881,6 +882,7 @@ def test_computer_sales_page(self):
881882
self.read_html(data, header=[0, 1])
882883

883884
def test_multiple_header_rows(self):
885+
# Issue #13434
884886
expected_df = DataFrame(data=[("Hillary", 68, "D"),
885887
("Bernie", 74, "D"),
886888
("Donald", 69, "R")])

0 commit comments

Comments
 (0)