# DataFrame display in IJulia

**URL:** <https://discourse.julialang.org/t/dataframe-display-in-ijulia/19442>\
**Category:** General Usage\
**Created:** [January 9, 2019, 6:09pm UTC](https://discourse.julialang.org/t/dataframe-display-in-ijulia/19442 "2019-01-09T18:09:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AsafManela](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asafmanela/32/4863_2.png) [@AsafManela](https://discourse.julialang.org/u/AsafManela)\
**Post date:** [January 9, 2019, 6:09pm UTC](https://discourse.julialang.org/t/dataframe-display-in-ijulia/19442/1 "2019-01-09T18:09:35Z")

</div>

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

```julia
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

> |a|b|  
> | — | — | — |  
> |1|3|  
> |2|4|

---

<div class="post-metadata">

**Author:** ![Ajaychat3](https://avatars.discourse-cdn.com/v4/letter/a/ecd19e/32.png) [@Ajaychat3](https://discourse.julialang.org/u/Ajaychat3)\
**Post date:** [January 10, 2019, 1:05am UTC](https://discourse.julialang.org/t/dataframe-display-in-ijulia/19442/2 "2019-01-10T01:05:56Z")

</div>

Try “ first(df,n)”.

---

<div class="post-metadata">

**Author:** ![Simon\_Bolland](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simon_bolland/32/8920_2.png) [@Simon\_Bolland](https://discourse.julialang.org/u/Simon_Bolland)\
**Post date:** [January 10, 2019, 1:26am UTC](https://discourse.julialang.org/t/dataframe-display-in-ijulia/19442/3 "2019-01-10T01:26:54Z")

</div>

You can get a bit closer to what you want with

```julia
show(df,summary=false)

```

but you still get column types.

You’d need a change to showrows function in [abstractdataframe/show.jl](https://github.com/JuliaData/DataFrames.jl/blob/master/src/abstractdataframe/show.jl) to add an option to suppress printing of type info.

---

<div class="post-metadata">

**Author:** ![AsafManela](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/asafmanela/32/4863_2.png) [@AsafManela](https://discourse.julialang.org/u/AsafManela)\
**Post date:** [January 10, 2019, 2:29pm UTC](https://discourse.julialang.org/t/dataframe-display-in-ijulia/19442/4 "2019-01-10T14:29:08Z")

</div>

Thanks, that help
