【问题标题】:Julia: How to set the number of DataFrame rows printed in IJulia/Jupyter?Julia:如何设置在 IJulia/Jupyter 中打印的 DataFrame 行数?
【发布时间】:2019-03-23 09:30:49
【问题描述】:
using DataFrames
DataFrame(a = 1:100)

默认在 IJulia/Jupyter 中打印大约 30 行。

如何在 IJulia/Jupyter 中设置要打印的行数?

【问题讨论】:

    标签: jupyter-notebook julia jupyter jupyter-lab ijulia-notebook


    【解决方案1】:

    要显示n 行只需设置

    Base.displaysize() = (n, 80)
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-06-06
      • 2019-05-12
      • 1970-01-01
      • 2019-12-07
      • 1970-01-01
      • 1970-01-01
      • 2017-04-13
      相关资源
      最近更新 更多