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/10344 below:

DataFrame.to_html(index=False) with named Index rendered incorrectly · Issue #10344 · pandas-dev/pandas · GitHub

As below capture, index name is drawn even if index=False is specified, and it corrupts the layout.

For copy/paste to Jupyter:

import numpy as np
import pandas as pd
from IPython.display import HTML

df = pd.DataFrame(np.random.randn(2, 2), index=pd.Index(['A', 'B'], name='idx'))
HTML(df.to_html())

HTML(df.to_html(index=False))

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