i want to merge 2 rows for a column if the value is same as below
But with the following code, I’m not able to achieve using rowspan as well. Could someone help me with this
html_content = """
<table>
<thead>
<tr>
<th style="width: 50px">Name</th>
<th style="width: 30px">Age</th>
<th style="width: 80px">Occupation</th>
<th style="width: 10px">Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>John</td>
<td>30</td>
<td>Engineer</td>
<td rowspan="2">New York</td>
</tr>
<tr>
<td>Sarah</td>
<td>25</td>
<td>Doctor</td>
</tr>
<tr>
<td>Michael</td>
<td>40</td>
<td>Teacher</td>
<td>Los Angeles</td>
</tr>
<tr>
<td>Emily</td>
<td>35</td>
<td>Lawyer</td>
<td rowspan="2">Chicago</td>
</tr>
<tr>
<td>David</td>
<td>28</td>
<td>Programmer</td>
<td>Chicago</td>
</tr>
</tbody>
</table>
"""
update_tables(access_token, document_id, "temp:C:UMQ467413dd5d6a40e1942b2e08c", html_content)
Any idea on how to achieve this?