美文网首页
jupyter_setting

jupyter_setting

作者: 小甜瓜Melon | 来源:发表于2017-10-27 22:33 被阅读0次

最大显示行数和列数

import pandas as pd
pd.set_option('display.max_rows', 500)
pd.set_option('display.max_columns', 500)   展示结果的最大量,大于这个数字会出现省略号
pd.set_option('display.width', 1000)
pd.set_option('display.height', 1000)             
# pd.set_option('display.width', 1000)    设置每一列展示的最大宽度,屏幕一行显示满之后才会进行换行
# pd.set_option('expand_frame_repr', False)   设置成true,则会换行显示  https://ask.helplib.com/604294

相关文章

网友评论

      本文标题:jupyter_setting

      本文链接:https://www.haomeiwen.com/subject/luzdpxtx.html