-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
Description
I could get this only to show up in the notebook, but the idea is that the attributes (e.g. _format_attrs()
)
should be wrapped like we do data so that they don't get cut off.
In [14]: pd.options.display.width=20
In [15]: pd.CategoricalIndex(['foo','bar','baz','a really long string']*100,name='a long name')
Out[15]:
CategoricalIndex([u'foo',
u'bar',
u'baz',
u'a really long string',
u'foo',
u'bar',
u'baz',
u'a really long string',
u'foo',
u'bar',
...
u'baz',
u'a really long string',
u'foo',
u'bar',
u'baz',
u'a really long string',
u'foo',
u'bar',
u'baz',
u'a really long string'],
categories=[u'a really long string', u'bar', u'baz', u'foo'], ordered=False, name=u'a long name', dtype='category', length=400)