Skip to content

Enhance __repr__ and _repr_html_ with a note for additional rows #1026

Open
@konjac

Description

@konjac

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Nowadays, __repr__ and _repr_html_ only shows 10 rows. If the DataFrame contains more than 10 rows, we can show message to indicate there are truncated rows.

Describe the solution you'd like
@timsaucer shared a thought in #discussion_r1957173896. Just take 11 rows internally. If 11 rows are returned, display message for additional rows.

Describe alternatives you've considered
n/a

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions