Skip to content

Commit

Permalink
correct boxing
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Nov 20, 2018
1 parent d84cc02 commit d9df6bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pandas/io/formats/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -1123,12 +1123,9 @@ class ExtensionArrayFormatter(GenericArrayFormatter):
def _format_strings(self):
values = self.values
if isinstance(values, (ABCIndexClass, ABCSeries)):
boxed = True
values = values._values
else:
boxed = False

formatter = values._formatter(boxed=boxed)
formatter = values._formatter(boxed=True)

if is_categorical_dtype(values.dtype):
# Categorical is special for now, so that we can preserve tzinfo
Expand Down

0 comments on commit d9df6bf

Please sign in to comment.