IPython Notebook output cell is truncating contents of my list

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

    A quick hack if you're using pandas is to do

    from pandas import DataFrame
    from IPython.display import HTML
    HTML(DataFrame(myList).to_html())
    

提交回复
热议问题