to_html for a row-wise empty dataframe should print the header #6062
Labels
IO HTML
read_html, to_html, Styler.apply, Styler.applymap
Output-Formatting
__repr__ of pandas objects, to_string
Milestone
I'd expect the output of
to be essentially
<th>asdf</th><th>bsdf</th>
as an html table. This would be a lot more homogeneous. The current output is pretty useless, being basicallyrepr(df)
.The text was updated successfully, but these errors were encountered: