Julia:如何设置 IJulia/Jupyter 中打印的 DataFrame 行数?

Julia: How to set the number of DataFrame rows printed in IJulia/Jupyter?

using DataFrames
DataFrame(a = 1:100)

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

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

要显示 n 行,只需设置

Base.displaysize() = (n, 80)