I render a pandas multi-index into an html table.
When rendering, after I passed a specific index X I want to add a separator line into the table. I can do this manually by editing the final html file:
/* .... Index X .... */
<tr>
<td colspan="20" class="divider"><hr /></td>
</tr>
/* .... Index Y .... */
This produces the desired result:
Question Is there any way to capture this in code?
I want to avoid going through each HTML table I create, adding those lines manually.

