# Suggestion: move DataFrames, plotting into standard distribution

**URL:** <https://discourse.julialang.org/t/suggestion-move-dataframes-plotting-into-standard-distribution/9115>\
**Category:** Internals & Design\
**Tags:** proposal, plotting, dataframes\
**Created:** [February 16, 2018, 5:21pm UTC](https://discourse.julialang.org/t/suggestion-move-dataframes-plotting-into-standard-distribution/9115 "2018-02-16T17:21:38Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![piever](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/piever/32/1815_2.png) [@piever](https://discourse.julialang.org/u/piever)\
**Post date:** [February 20, 2018, 2:01pm UTC](https://discourse.julialang.org/t/suggestion-move-dataframes-plotting-into-standard-distribution/9115/27 "2018-02-20T14:01:35Z")

</div>

This specific feedback is actually very useful.

Concerning verbosity, I’ve translated the same `hflights` tutorial to JuliaDB [here](https://github.com/piever/JuliaDBTutorial/blob/master/hflights.ipynb) and I find the syntax reasonably concise. Can you pinpoint specific cases that could be improved/specific suggestions on how to do so? As a caveat, you need a very recent version of JuliaDB and IndexedTables to run the tutorial as most syntax improvements are recent.

Concerning dplyr ggplot2 integration via pipeline (I’m not sure how that’d work exactly as I’m not a R user) the closest I can think of is the `@df` macro from [StatPlots](https://github.com/JuliaPlots/StatPlots.jl) which is fully integrated with the Query/IterableTables framework (though I have some idea to simplify the syntax even further when plotting from a `@map` statement, but I haven’t quite decided how, I’m curious what @davidanthoff has in mind). There is also [GroupedErrors](https://github.com/piever/GroupedErrors.jl) to make plots from data tables if you’re working with grouped data.

> [@pasha](#):
>
> Window functions, like rownumber(), lag, lead .

See [this announcement](https://discourse.julialang.org/t/ann-shiftedarrays-and-support-for-shiftedarrays-in-groupederrors/9162/2), though I haven’t focused on Query integration (as ShiftedArrays and Query have different missing data representation): will think about it once there is convergence.

I’d be curious to see how to add `rownumber`: what does it do exactly? You can use it inside a `groupby` and it will give you the row numbers of the group as computed inside the larger dataset?

---

_[View the full topic](https://discourse.julialang.org/t/suggestion-move-dataframes-plotting-into-standard-distribution/9115)._
