# Display more decimals in DataFrame

**URL:** <https://discourse.julialang.org/t/display-more-decimals-in-dataframe/22545>\
**Category:** General Usage\
**Tags:** dataframes, prettytables\
**Created:** [March 30, 2019, 4:08pm UTC](https://discourse.julialang.org/t/display-more-decimals-in-dataframe/22545 "2019-03-30T16:08:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![longemen3000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/longemen3000/32/7298_2.png) [@longemen3000](https://discourse.julialang.org/u/longemen3000)\
**Post date:** [March 30, 2019, 11:04pm UTC](https://discourse.julialang.org/t/display-more-decimals-in-dataframe/22545/3 "2019-03-30T23:04:21Z")

</div>

there is a good package for displaying tables on the terminal, [PrettyTables.jl](https://discourse.julialang.org/t/ann-prettytables-jl-print-formatted-tables-in-julia/19550), an example:

```julia
using DataFrames, PrettyTables
x = DataFrame(a=[1.142300004,1.142300051])
pretty_table(x)
┌─────────────┐
│ a │
│ Float64 │
├─────────────┤
│ 1.142300004 │
│ 1.142300051 │
└─────────────┘

```

---

_[View the full topic](https://discourse.julialang.org/t/display-more-decimals-in-dataframe/22545)._
