Skip to content

Commit

Permalink
CLN: print the categorical levels w/o regards to the truism of the dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
jreback committed Sep 9, 2015
1 parent f624c0a commit 278b06c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/core/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ def _get_footer(self):
footer += 'dtype: %s' % com.pprint_thing(name)

# level infos are added to the end and in a new line, like it is done for Categoricals
# Only added when we request a name
if name and com.is_categorical_dtype(self.tr_series.dtype):
if com.is_categorical_dtype(self.tr_series.dtype):
level_info = self.tr_series._values._repr_categories_info()
if footer:
footer += "\n"
Expand Down

0 comments on commit 278b06c

Please sign in to comment.