def _parse_td(row):
    """Return the td elements from a row element.

    Parameters
    ----------
    row : node-like
        A DOM <tr> node.
    Returns
    -------
    list of node-like
        These are the elements of each row, i.e., the columns.
    """
    # Look for direct children only: the "row" element here may be a
    # <thead> or <tfoot> (see _parse_thead_tr).
    return row.xpath('./td|./th')