Skip to content

Commit 56c0f79

Browse files
committed
Tweak comments
1 parent 7023284 commit 56c0f79

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

pandas/io/html.py

+10-5
Original file line numberDiff line numberDiff line change
@@ -354,12 +354,12 @@ def _equals_tag(self, obj, tag):
354354
A DOM node.
355355
356356
tag : str
357-
Tag name to be checked for equality
357+
Tag name to be checked for equality.
358358
359359
Returns
360360
-------
361361
boolean
362-
Whether the object is equal to tag 'tag'
362+
Whether `obj`'s tag name is `tag`
363363
"""
364364
raise com.AbstractMethodError(self)
365365

@@ -430,12 +430,17 @@ def row_is_all_th(row):
430430

431431
def _expand_colspan_rowspan(self, rows):
432432
"""
433-
Given a list of <tr>s, return a list of text rows that copy cell
434-
text across rowspans/colspans.
433+
Given a list of <tr>s, return a list of text rows.
434+
435+
Notes
436+
-----
437+
Any cell with ``rowspan`` or ``colspan`` will have its contents copied
438+
to subsequent cells.
435439
436440
Parameters
437441
----------
438-
rows : list of <tr>s
442+
rows : list of node-like
443+
List of <tr>s
439444
440445
Returns
441446
-------

0 commit comments

Comments
 (0)