Do you want an output like this?
<table class="tg">
<tr>
<th class="tg-0lax">nome</th>
<th class="tg-0lax">categoria</th>
<th class="tg-0lax">tempo</th>
</tr>
<tr>
<td class="tg-0lax">João</td>
<td class="tg-0lax">futebol</td>
<td class="tg-0lax">20</td>
</tr>
<tr>
<td class="tg-0lax">Maria</td>
<td class="tg-0lax">basquete</td>
<td class="tg-0lax">40</td>
</tr>
<tr>
<td class="tg-0lax">José</td>
<td class="tg-0lax">volei</td>
<td class="tg-0lax">30</td>
</tr>
</table>
| nome | categoria | tempo |
|-------|-----------|-------|
| João | futebol | 20 |
| Maria | basquete | 40 |
| José | volei | 30 |
But we need more information. You can not answer without a better example of your input and an explanation of what you want. But most of all, we have to know what you are already doing, what are the errors found, etc.?