2017-04-13 29 views
1

当我将数据框放入单元格时,它只显示一些行,中间有一个“...”。如何在Rup内核的Jupyter笔记本中查看数据帧的所有行?

编辑:我正在寻找这些Python的笔记本 - [R当量来电:

import pandas 
# "If max_cols is exceeded, switch to truncate view" 
pandas.set_option('display.max_columns', 5400) 
# "The maximum width in characters of a column" 
pandas.set_option('display.max_colwidth', 500) 

http://pandas.pydata.org/pandas-docs/stable/generated/pandas.set_option.html见。

+0

尝试打印输出?例如。 '库(plyr); m1 < - ldply(iris,rep,3);打印(m1)' –

+0

谢谢! “打印”功能删除了漂亮的HTML表格格式(排列值,更好看的字体,表格行......)。 – dfrankow

回答

3

托马斯Kluyver says

我想你想的选项repr.matrix.max.rows和 repr.matrix.max.cols

即运行

options(repr.matrix.max.rows=600, repr.matrix.max.cols=200) 

默认值为60和20.

相关问题