IPython Notebook output cell is truncating contents of my list

后端 未结 9 1631
轮回少年
轮回少年 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:19

    For cases where the output of print(mylist) is something like [1, 1, 1, ..., 1, 1, 1] then [*mylist] will expand the items into rows where all items are visible.

提交回复
热议问题