IPython Notebook output cell is truncating contents of my list

后端 未结 9 1659
轮回少年
轮回少年 2020-12-01 11:29

I have a long list (about 4000 items) whose content is suppressed when I try to display it in an ipython notebook output cell. Maybe two-thirds is shown, but the end has a

9条回答
  •  余生分开走
    2020-12-01 12:21

    I know its a pretty old thread, but still wanted to post my answer in the hope it helps someone. You can change the number of max_seq_items shown by configuring the pandas options as follows:

    pd.options.display.max_seq_items = 2000
    

提交回复
热议问题