@ensure_tag(['tr'])
def get_td_at_index(tr, index):
    current = 0
    for td in tr.xpath('.//w:tc', namespaces=tr.nsmap):
        if index == current:
            return td
        current += get_grid_span(td)
When calculating the rowspan for a given cell it is required to find all
dataset/ETHPy150Open PolicyStat/docx2html/docx2html/core.py/get_td_at_index