IPython Notebook output cell is truncating contents of my list

后端 未结 9 1626
轮回少年
轮回少年 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条回答
  •  -上瘾入骨i
    2020-12-01 12:09

    How to disable list truncation in IPython:

    1. Create an IPython config file if you don't already have one:
      ipython profile create
      
    2. Edit the config file to include this line:
      c.PlainTextFormatter.max_seq_length = 0
      
    3. Restart your notebook instance.

提交回复
热议问题