Skip to content

Commit 6ae2860

Browse files
committed
updated docstring and io.rst
1 parent 41fe8cd commit 6ae2860

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/source/io.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -2111,9 +2111,10 @@ Read a URL and match a table that contains specific text
21112111
match = 'Metcalf Bank'
21122112
df_list = pd.read_html(url, match=match)
21132113
2114-
Specify a header row (by default ``<th>`` elements are used to form the column
2115-
index); if specified, the header row is taken from the data minus the parsed
2116-
header elements (``<th>`` elements).
2114+
Specify a header row (by default ``<th>`` or ``<td>`` elements located within a
2115+
``<thead>`` are used to form the column index, if multiple rows are contained within
2116+
``<thead>`` then a multiindex is created); if specified, the header row is taken
2117+
from the data minus the parsed header elements (``<th>`` elements).
21172118

21182119
.. code-block:: python
21192120

0 commit comments

Comments
 (0)