DataFrame display in IJulia

Is there an easy way, like an environment variable or a function I can override to avoid displaying the column types and row numbers of DataFrames in IJulia?

When I try this

DataFrame(a=[1,2], b=["3", "4"])

I get

2 rows × 2 columns

a b
Int64 String
1 1 3
2 2 4

Which ideally would look like

| — | — | — |

1 Like

Try “ first(df,n)”.

1 Like

You can get a bit closer to what you want with


but you still get column types.

You’d need a change to showrows function in abstractdataframe/show.jl to add an option to suppress printing of type info.

Thanks, that help