ipython notebook pandas max allowable columns

后端 未结 3 1644
梦谈多话
梦谈多话 2020-12-24 03:17

I have a simple csv file with ten columns!

When I set the following option in the notebook and print my csv file (which is in a pandas dataframe) it doesn\'t print a

3条回答
  •  没有蜡笔的小新
    2020-12-24 03:46

    I found this question as one of the first hits on Google. In jupyter lab,

    pandas.set_option("display.max_columns", None)
    

    Now seems to work fine - my example was 32 columns, it used to be truncated and is not any more.

提交回复
热议问题