Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
to_html(index_names=False) still renders a row with index names #16493
Comments
|
May be as simple as also checking @CRP interested in submitting a fix? |
TomAugspurger
added Bug IO HTML Output-Formatting
labels
May 25, 2017
TomAugspurger
added this to the
Next Major Release
milestone
May 25, 2017
TomAugspurger
added Difficulty Novice Effort Low
labels
May 25, 2017
This was referenced May 25, 2017
|
just created pull request, not sure if I did everything right... |
jreback
modified the milestone: 0.20.2, Next Major Release
Jun 1, 2017
jreback
closed this
in e3ee186
Jun 1, 2017
TomAugspurger
added a commit
to TomAugspurger/pandas
that referenced
this issue
Jun 1, 2017
|
|
CRP + TomAugspurger |
42729e8
|
TomAugspurger
added a commit
that referenced
this issue
Jun 4, 2017
|
|
CRP + TomAugspurger |
3981755
|
Kiv
added a commit
to Kiv/pandas
that referenced
this issue
Jun 11, 2017
|
|
CRP + Kiv |
3f70fda
|
stangirala
added a commit
to stangirala/pandas
that referenced
this issue
Jun 11, 2017
|
|
CRP + stangirala |
5c573da
|
guillemborrell
added a commit
to guillemborrell/pandas
that referenced
this issue
Jul 7, 2017
|
|
CRP + guillemborrell |
1437102
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CRP commentedMay 25, 2017
•
edited
The index_names parameter is apparently ignored.
I tried to debug the code, and it looks like line 1291 of pandas/io/formats/format.py should contain "and self.fmt.show_index_names" in the if clause.
here is sample code:
which produces the following output:
the second row of the thead should not be there...
pandas: 0.20.1
pytest: None
pip: 9.0.1
setuptools: 35.0.2
Cython: None
numpy: 1.12.1
scipy: 0.19.0
xarray: 0.9.5
IPython: 6.0.0
sphinx: None
patsy: 0.4.1
dateutil: 2.6.0
pytz: 2017.2
blosc: None
bottleneck: None
tables: 3.4.2
numexpr: 2.6.2
feather: None
matplotlib: 2.0.2
openpyxl: 2.4.7
xlrd: 1.0.0
xlwt: 1.2.0
xlsxwriter: 0.9.6
lxml: None
bs4: None
html5lib: 0.999999999
sqlalchemy: 1.1.9
pymysql: None
psycopg2: None
jinja2: 2.9.6
s3fs: None
pandas_gbq: None
pandas_datareader: None