Skip to content

Commit 2cd367a

Browse files
committed
review changes
1 parent d9212df commit 2cd367a

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
@@ -146,6 +146,7 @@ Other enhancements
146146
- ``Series/DataFrame.asfreq()`` have gained a ``fill_value`` parameter, to fill missing values (:issue:`3715`).
147147
- ``Series/DataFrame.resample.asfreq`` have gained a ``fill_value`` parameter, to fill missing values during resampling (:issue:`3715`).
148148
- ``pandas.tools.hashing`` has gained a ``hash_tuples`` routine, and ``hash_pandas_object`` has gained the ability to hash a ``MultiIndex`` (:issue:`15224`)
149+
- ``pd.read_html()`` parses multiple header rows, creating a multiindex header. (:issue:`13434`).
149150

150151
.. _ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations
151152

pandas/io/tests/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)