Skip to content

Use default EA repr for IntervalArray #25022

Closed
@jorisvandenbossche

Description

@jorisvandenbossche

IntervalArray still has a custom repr:

In [41]: pd.arrays.IntervalArray.from_breaks(range(3))                                                                                                                          
Out[41]: 
IntervalArray([(0, 1], (1, 2]],
              closed='right',
              dtype='interval[int64]')

We should convert that to the default EA repr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExtensionArrayExtending pandas with custom dtypes or arrays.IntervalInterval data type

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions