# Print DataFrame as "less"-command style

**URL:** https://discourse.julialang.org/t/print-dataframe-as-less-command-style/40667
**Category:** Data
**Created:** [June 3, 2020, 1:16pm UTC](https://discourse.julialang.org/t/print-dataframe-as-less-command-style/40667 "2020-06-03T13:16:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![carlomontec](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carlomontec/32/2011_2.png) [@carlomontec](https://discourse.julialang.org/u/carlomontec)
#### Post date: [June 3, 2020, 1:16pm UTC](https://discourse.julialang.org/t/print-dataframe-as-less-command-style/40667/1 "2020-06-03T13:16:26Z")

</div>

Hello,

is there a way to print to screen a DataFrame in similar fashion as the “less” command in Linux? So that it displays the data that fits the current terminal size, and with the arrow keys to scroll the columns and rows.

Is there any suggestion for an equivalent approach?

Thank you all.

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [June 3, 2020, 1:54pm UTC](https://discourse.julialang.org/t/print-dataframe-as-less-command-style/40667/2 "2020-06-03T13:54:57Z")

</div>

No, but that would be cool thing to tap into.

You can use the pacakges `TableView.jl` or `BrowseTables.jl` for this.

---

<div class="post-metadata">

### Author: ![carlomontec](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carlomontec/32/2011_2.png) [@carlomontec](https://discourse.julialang.org/u/carlomontec)
#### Post date: [June 4, 2020, 6:34am UTC](https://discourse.julialang.org/t/print-dataframe-as-less-command-style/40667/3 "2020-06-04T06:34:46Z")

</div>

> [@pdeffebach](#):
>
> `BrowseTables.jl`

Thank you! I managed to use BrowseTables with my DataFrames without problem. However, not with TableView. Is this only valid for Tables or also DataFrames?

---

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [June 4, 2020, 2:32pm UTC](https://discourse.julialang.org/t/print-dataframe-as-less-command-style/40667/4 "2020-06-04T14:32:04Z")

</div>

a DataFrame is a Table. A Table is really just a set of functions that types can choose to implement, and a DataFrame chooses to implement them.

It makes it possible for something like TableView to work with lots of different packages.

---

<div class="post-metadata">

### Author: ![carlomontec](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carlomontec/32/2011_2.png) [@carlomontec](https://discourse.julialang.org/u/carlomontec)
#### Post date: [April 21, 2021, 4:01pm UTC](https://discourse.julialang.org/t/print-dataframe-as-less-command-style/40667/5 "2021-04-21T16:01:07Z")

</div>

> [@carlomontec](#):
>
> Is there any suggestion for an equivalent approach?

for completeness, check TerminalPager.jl [[ANN] Announcing TerminalPager.jl](https://discourse.julialang.org/t/ann-announcing-terminalpager-jl/59561)
