A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/6062 below:

to_html for a row-wise empty dataframe should print the header · Issue #6062 · pandas-dev/pandas · GitHub

I'd expect the output of

pd.DataFrame(columns=["asdf", "bsdf"]).to_html()

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 basically repr(df).


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4