Skip to content

Commit

Permalink
fixup! use repr
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Nov 12, 2018
1 parent 221cee9 commit 439f2f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pandas/core/arrays/categorical.py
Original file line number Diff line number Diff line change
Expand Up @@ -1993,6 +1993,9 @@ def __unicode__(self):
def __repr__(self):
return super(ExtensionArray, self).__repr__()

def __bytes__(self):
return super(ExtensionArray, self).__bytes__()

def _maybe_coerce_indexer(self, indexer):
""" return an indexer coerced to the codes dtype """
if isinstance(indexer, np.ndarray) and indexer.dtype.kind == 'i':
Expand Down

0 comments on commit 439f2f8

Please sign in to comment.