データフレームDataFrameで、カラムColumnの表示文字数を増やす方法。 .set_option(display.max_colwidth)

In [53]: df.head()
Out[53]: 
   total_bill   tip     sex smoker  day    time  size
0       16.99  1.01  Female     No  Sun  Dinner     2
1       10.34  1.66    Male     No  Sun  Dinner     3
2       21.01  3.50    Male     No  Sun  Dinner     3
3       23.68  3.31    Male     No  Sun  Dinner     2
4       24.59  3.61  Female     No  Sun  Dinner     4

In [54]: pd.get_option(display.max_colwidth)
Out[54]: 50

In [55]: pd.set_option(display.max_colwidth,5)

In [56]: df.head()
Out[56]: 
   total_bill   tip   sex smoker  day  time  size
0  1...        1.01  F...    No   Sun  D...     2
1  1...        1.66  Male    No   Sun  D...     3
2  2...        3.50  Male    No   Sun  D...     3
3  2...        3.31  Male    No   Sun  D...     2
4  2...        3.61  F...    No   Sun  D...     4

あと、表示するカラムの数(ターミナルの横幅、折り返しまでの位置)を変更する方法。

In [61]: df.head()
Out[61]: 
   total_bill   tip     sex smoker  day    time  size
0       16.99  1.01  Female     No  Sun  Dinner     2
1       10.34  1.66    Male     No  Sun  Dinner     3
2       21.01  3.50    Male     No  Sun  Dinner     3
3       23.68  3.31    Male     No  Sun  Dinner     2
4       24.59  3.61  Female     No  Sun  Dinner     4

In [62]: pd.get_option(display.width)
Out[62]: 80

In [63]: pd.set_option(display.width,20)

In [65]: df.head()
Out[65]: 
   total_bill  
0       16.99   
1       10.34   
2       21.01   
3       23.68   
4       24.59   

    tip     sex  
0  1.01  Female   
1  1.66    Male   
2  3.50    Male   
3  3.31    Male   
4  3.61  Female   

  smoker  day  
0     No  Sun   
1     No  Sun   
2     No  Sun   
3     No  Sun   
4     No  Sun   

     time  size  
0  Dinner     2  
1  Dinner     3  
2  Dinner     3  
3  Dinner     2  
4  Dinner     4 

マニュアル。

Options and Settings — pandas 0.17.1 documentation

あとAPI

pandas: powerful Python data analysis toolkit — pandas 0.18.0rc1+70.gc69037c.dirty documentation