merge_td_rows

merge_td_rows(table)[source]

Merge HTML TD rows with identical values using colspan.

Arguments: table -- a list of tuples, one tuple per row, containing n elements for the n columns.

Output: A list of tuples with adjusted idential values merged with colspan.