-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Open
Labels
IO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymapOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_stringSeriesSeries data structureSeries data structure

Description
Not sure if it's always been this way or if refactoring broke something.
In any case it looks strange when in ipnb:
related to #5550, making reprs consistent.
Metadata
Metadata
Assignees
Labels
IO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymapOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_stringSeriesSeries data structureSeries data structure
Activity
jtratner commentedon Nov 20, 2013
It's always been that way.
ghost commentedon Nov 20, 2013
Thought so, it's surprising users haven't flagged this earlier then.
15 remaining items
big-o commentedon Oct 27, 2019
I've taken an initial stab at this. It's my first contribution to the project so it's probably pretty messy and will need some further work, but if it's the sort of thing you're after and can point me in the right direction of what extra bits are needed then I'm happy to do it.
Here's my fork: https://github.com/big-o/pandas. I haven't submitted a PR yet because it needs unit tests and I don't want to start on that until I'm certain that I'm on the right track functionality-wise.
It doesn't quite support everything that DataFrame.to_html() does (justify and sparsify options aren't implemented) but it hopefully covers the most important bits.
Here's a few screenshots:



jreback commentedon Oct 27, 2019
would be easier to review as a PR (then we can comment directly on the impl); you can add tests later
big-o commentedon Oct 27, 2019
Done!