I have a simple .csv containing room numbers and the types of equipment in the room. It looks like this:
room1,[computer]
room2,[computer, printer, fax]
room3,[computer, printer, fax, keurig, shredder]
room4,[computer, fax]
I can easily generate an html table using the pd.to_html function, but the equipment list is formatted in such a way that it is all on a single line. I would like it to look like this:
room1 computer
room2 computer
printer
fax
room3 computer
printer
fax
keurig
shredder
I've tried various options in the pd.to_html function but nothing is working. Is there an easy way to apply a word wrap here at the commas?