Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tables in docs #375

Merged
merged 2 commits into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,22 +426,22 @@ macros and the function that is actually called by the macro.

| Macro | Base DataFrames.jl function called |
|-------|---------------------------|
| @subset | `subset` |
| @subset! | `subset!` |
| @rsubset | `subset` |
| @rsubset! | `subset!` |
| @orderby | None (no keyword arguments supported) |
| @rorderby | None (no keyword arguments supported) |
| @by | `combine` |
| @combine | `combine` |
| @transform | `transform` |
| @transform! | `transform!` |
| @rtransform | `transform` |
| @rtransform! | `transform!` |
| @select | `select` |
| @select! | `select!` |
| @rselect | `select` |
| @rselect! | `select!` |
| `@subset` | `subset` |
| `@subset!` | `subset!` |
| `@rsubset` | `subset` |
| `@rsubset!` | `subset!` |
| `@orderby` | None (no keyword arguments supported) |
| `@rorderby` | None (no keyword arguments supported) |
| `@by` | `combine` |
| `@combine` | `combine` |
| `@transform` | `transform` |
| `@transform!` | `transform!` |
| `@rtransform` | `transform` |
| `@rtransform!` | `transform!` |
| `@select` | `select` |
| `@select!` | `select!` |
| `@rselect` | `select` |
| `@rselect!` | `select!` |

This can be done in two ways. When inputs are given as multiple
arguments, they are added at the end after a semi-colon `;`, as in
Expand Down Expand Up @@ -903,15 +903,15 @@ Here is a table of equivalents for Hadley's
[LINQ](http://en.wikipedia.org/wiki/Language_Integrated_Query)
functions.

Julia dplyr LINQ
---------------------------------------------
@subset filter Where
@transform mutate Select (?)
@by GroupBy
groupby group_by GroupBy
@combine summarise/do
@orderby arrange OrderBy
@select select Select
| Julia | dplyr | LINQ |
|--------------|------------------|--------------|
| `@subset` | `filter` | `Where` |
| `@transform` | `mutate` | `Select` (?) |
| `@by` | | `GroupBy` |
| `groupby` | `group_by` | `GroupBy` |
| `@combine` | `summarise`/`do` | |
| `@orderby` | `arrange` | `OrderBy` |
| `@select` | `select` | `Select` |


## Chaining operations together with `@chain`
Expand Down
Loading