The output of showall looks nasty in a HTML capable display like Jupyter or Weave, so instead you can use the LINES environment variable to increase the displayed row count.
using DataFrames
df = DataFrame(A = rand(Int, 100), B = rand(Int, 100))
withenv("LINES" => 20) do
display(df)
end
There is also a COLUMNS var, see the displaysize function help.
AFAICT to disable the limit altogether you need to change the display context which gets a bit messy and is just generally inadvisable, but here it is anyway
io = IOBuffer()
ioctx = IOContext(io, :limit => false)
show(ioctx, MIME("text/html"), df)
HTML(String(take!(io)))
Answer from Richard Palethorpe on Stack OverflowThe output of showall looks nasty in a HTML capable display like Jupyter or Weave, so instead you can use the LINES environment variable to increase the displayed row count.
using DataFrames
df = DataFrame(A = rand(Int, 100), B = rand(Int, 100))
withenv("LINES" => 20) do
display(df)
end
There is also a COLUMNS var, see the displaysize function help.
AFAICT to disable the limit altogether you need to change the display context which gets a bit messy and is just generally inadvisable, but here it is anyway
io = IOBuffer()
ioctx = IOContext(io, :limit => false)
show(ioctx, MIME("text/html"), df)
HTML(String(take!(io)))
I've tested showall in JuliaBox and it works fine.
using DataFrames
df = DataFrame(A=1:200, B=rand(200))
Out[]:only showing the first 30 rows
showall(df)
Out[]:showing all rows
showall() no longer exists. It was remove in Julia v0.6. So the original answer to this question no longer exists. Now, you can use the following:
show(IOContext(stdout, :limit=>false), subtypes(Any))
here's a shorter variant of that that should work:
show(stdout, "text/plain", x)
where x is the thing you want to print