Skip to content

Series do not display HTML repr #5563

@ghost

Description

Not sure if it's always been this way or if refactoring broke something.
In any case it looks strange when in ipnb:
series repr

related to #5550, making reprs consistent.

Activity

jtratner

jtratner commented on Nov 20, 2013

@jtratner
Contributor

It's always been that way.

ghost

ghost commented on Nov 20, 2013

@ghost

Thought so, it's surprising users haven't flagged this earlier then.

modified the milestones: 0.15.0, 0.14.0 on Mar 28, 2014
modified the milestones: 0.16.0, Next Major Release on Mar 6, 2015

15 remaining items

modified the milestone: Contributions Welcome on Jul 8, 2018
big-o

big-o commented on Oct 27, 2019

@big-o

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:
series1
series2
series3

jreback

jreback commented on Oct 27, 2019

@jreback
Contributor

would be easier to review as a PR (then we can comment directly on the impl); you can add tests later

big-o

big-o commented on Oct 27, 2019

@big-o

would be easier to review as a PR (then we can comment directly on the impl); you can add tests later

Done!

removed this from the Someday milestone on Oct 13, 2022
added
SeriesSeries data structure
and removed
Needs DiscussionRequires discussion from core team before further action
on Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    IO HTMLread_html, to_html, Styler.apply, Styler.applymapOutput-Formatting__repr__ of pandas objects, to_stringSeriesSeries data structure

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @lexual@ankostis@jreback@jorisvandenbossche@big-o

      Issue actions

        Series do not display HTML repr · Issue #5563 · pandas-dev/pandas