DataFrame.to_html()
DataFrame.to_html() -- Render a DataFrame to a html table.

This is great. Someone was just asking me about this (conversion to HTML) the other day
 i made some fixes here for formatting non-MultiIndex etc. so the output looks like the console output:

https://github.com/wesm/pandas/commit/3af4e33b34affea9384a1f7a8be2ead069c7549d
