I'm Trying to transform html tables with nested tables into a clean excel file.
Here is an example of what my table would look like:
I want this to have the same structure in excel.
I tried using pandas but it doesn't seem to support nested tables. At some point I decided to give up on nested tables and just have multiple rows for each hosts looking a bit like this:
The problem is I would like to avoid repetitions in my DataFrame but more importantly I would have to check the difference in length of the lists of host_clients and host_addresses and it just doesn't seem clean to do.
Is there a way for me to have the same html table structure in an excel ? I've looked on many threads but I don't seem to find a solution that suits me or problem that suits mine.
Thanks in advance for any suggestions. InFeRnO_w