Re: [pystatsmodels] [pandas] display options

52 views
Skip to first unread message

Wes McKinney

unread,
May 10, 2013, 8:14:42 PM5/10/13
to pystat...@googlegroups.com
On Fri, May 10, 2013 at 5:12 PM, Michael Aye <kmicha...@gmail.com> wrote:
> I am trying to print out 21 columns next to each other?
>
> Trying this, but it doesn't work?
>
>
> In [201]:
>
> pd.set_option('max_columns',200)
>
> In [202]:
>
> chmedian.head()
>
> Out[202]:
>
> <class 'pandas.core.frame.DataFrame'>
> DatetimeIndex: 5 entries, 2011-04-01 22:00:10 to 2011-04-01 22:00:50
> Freq: 10S
> Data columns (total 21 columns):
> b3_01 5 non-null values
> b3_02 5 non-null values
> b3_03 5 non-null values
> b3_04 5 non-null values
> b3_05 5 non-null values
> b3_06 5 non-null values
> b3_07 5 non-null values
> b3_08 5 non-null values
> b3_09 5 non-null values
> b3_10 5 non-null values
> b3_11 5 non-null values
> b3_12 5 non-null values
> b3_13 5 non-null values
> b3_14 5 non-null values
> b3_15 5 non-null values
> b3_16 5 non-null values
> b3_17 5 non-null values
> b3_18 5 non-null values
> b3_19 5 non-null values
> b3_20 5 non-null values
> b3_21 5 non-null values
> dtypes: float64(21)
>
>
>

I bumped into this myself recently. The problem is line width-- try
setting display.line_width to some large number. I'm am going to
create an issue about it

- Wes

Michael Aye

unread,
May 11, 2013, 3:27:18 AM5/11/13
to pystat...@googlegroups.com
I tried pd.set_option('line_width',1000)  (and 10000), but it still does not work?
Thanks for creating an issue. 
Michael

- Wes

Chris Halpert

unread,
May 11, 2013, 9:01:18 PM5/11/13
to pystat...@googlegroups.com
Try set_option('display.width', 1000)

Michael Aye

unread,
May 13, 2013, 3:47:31 PM5/13/13
to pystat...@googlegroups.com


On Saturday, May 11, 2013 6:01:18 PM UTC-7, Chris Halpert wrote:
Try set_option('display.width', 1000)

Nope, still nothing. 
Reply all
Reply to author
Forward
0 new messages