Skip to content

Commit 3825aeb

Browse files
committed
Use Array formatter in PeriodIndex
1 parent c79ba0b commit 3825aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/indexes/period.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ def __array_wrap__(self, result, context=None):
529529

530530
@property
531531
def _formatter_func(self):
532-
return lambda x: "'%s'" % x
532+
return self.array._formatter(boxed=False)
533533

534534
def asof_locs(self, where, mask):
535535
"""

0 commit comments

Comments
 (0)