Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in DataFrame.to_html with MultiIndex #1053

Closed
tkf opened this issue Apr 14, 2012 · 2 comments
Closed

Bug in DataFrame.to_html with MultiIndex #1053

tkf opened this issue Apr 14, 2012 · 2 comments
Labels

Comments

@tkf
Copy link
Contributor

tkf commented Apr 14, 2012

DataFrame(
    rand(2, 4),
    columns=MultiIndex.from_tuples(zip('aabb', 'xyxy'))
    ).to_html()

generates

a
x
a
y
b
x
b
y
0 0.280664 0.465508 0.616751 0.246239
1 0.124957 0.867052 0.504789 0.178313
@ghost ghost assigned lodagro Apr 16, 2012
@lodagro
Copy link
Contributor

lodagro commented Apr 16, 2012

see also #909, issue only pops up when columns use MultiIndex without level names.

@tkf
Copy link
Contributor Author

tkf commented Apr 16, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants