df.style des not render pivot tables in the same fashion as to_html #13140
Labels
IO HTML
read_html, to_html, Styler.apply, Styler.applymap
MultiIndex
Output-Formatting
__repr__ of pandas objects, to_string
Please see
http://stackoverflow.com/questions/37166730/how-do-i-preserve-hierarchical-tables-with-pandas-pivot-table-and-dataframe-styl
Code Sample, a copy-pastable example if possible
Expected Output
Expect that both tables will produce nearly indentical hierarchically structured tables, and in particular, the second table will not have every index value repeated.
`
output of
pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 2.7.11.final.0
python-bits: 32
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None
pandas: 0.18.1
nose: None
pip: 8.1.1
setuptools: 20.2.2
Cython: None
numpy: 1.11.0
scipy: None
statsmodels: None
xarray: None
IPython: 4.1.2
sphinx: None
patsy: None
dateutil: 2.5.3
pytz: 2016.4
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: 1.0.0
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: 0.2.1
The text was updated successfully, but these errors were encountered: