repr for PeriodIndex does not handle <=2 elements well #5372
Labels
Dtype Conversions
Unexpected or buggy dtype conversions
Output-Formatting
__repr__ of pandas objects, to_string
Milestone
The
repr
forPeriodIndex
uses ellipses (i.e. ...) for all number of elements. Ellipses should only be used for more than two elements.DatetimeIndex
correctly does this:compare to:
The text was updated successfully, but these errors were encountered: