# Unfortunate deprecation of showall in DataFrames

**URL:** <https://discourse.julialang.org/t/unfortunate-deprecation-of-showall-in-dataframes/15627>\
**Category:** Data\
**Created:** [September 28, 2018, 5:03pm UTC](https://discourse.julialang.org/t/unfortunate-deprecation-of-showall-in-dataframes/15627 "2018-09-28T17:03:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lewis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewis/32/5217_2.png) [@lewis](https://discourse.julialang.org/u/lewis)\
**Post date:** [September 28, 2018, 5:03pm UTC](https://discourse.julialang.org/t/unfortunate-deprecation-of-showall-in-dataframes/15627/1 "2018-09-28T17:03:33Z")

</div>

Understandable to reduce API surface area and eliminate lots of special case functions.

Whether the loss of convenience is worth the streamlining is in the eye of the beholder.

This one seems unfortunate:

```julia
**┌ Warning:** `showall(df::AbstractDataFrame, allcols::Bool=true)` is deprecated, use `show(df, allrows=true, allcols=allcols)` instead.

**│** caller = showall(::DataFrame) at deprecated.jl:54

**└** @ DataFrames ./deprecated.jl:54

```

show() is used in so many places for so many things that it seems unfortunate to use it even more.

I suppose I can just define  
showall(df) = show(df, allrows=true, allcols=true)

But, that’s bad too because I need it in lots of scripts, can forget, and not good for someone else who might not realize they might need to add this little definition if using some of my stuff. So, I’ll go with the flow here.

Just wonder when little convenience methods are considered ok and when not.

---

<div class="post-metadata">

**Author:** ![nalimilan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nalimilan/32/147_2.png) [@nalimilan](https://discourse.julialang.org/u/nalimilan)\
**Post date:** [September 28, 2018, 8:41pm UTC](https://discourse.julialang.org/t/unfortunate-deprecation-of-showall-in-dataframes/15627/2 "2018-09-28T20:41:19Z")

</div>

`showall` has been deprecated in Julia 0.6, that’s why we removed it from DataFrames too. Note that the new `show` method is smarter than the old one: if you call `show(io, df)` on an I/O stream which doesn’t set the `:limit` property (which is the case of most streams, including files), all rows and columns will be shown by default.

---

<div class="post-metadata">

**Author:** ![lewis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lewis/32/5217_2.png) [@lewis](https://discourse.julialang.org/u/lewis)\
**Post date:** [September 28, 2018, 8:42pm UTC](https://discourse.julialang.org/t/unfortunate-deprecation-of-showall-in-dataframes/15627/3 "2018-09-28T20:42:29Z")

</div>

Good reason. We all miss our favorites…

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [June 27, 2019, 9:53am UTC](https://discourse.julialang.org/t/unfortunate-deprecation-of-showall-in-dataframes/15627/4 "2019-06-27T09:53:09Z")

</div>

Note that there is an error in the deprecation warning… it’s `show(df, allrows=true, allcols=true)` and NOT `show(df, allrows=true, allcols=allcols)`.  
I just opened a pull request…
