Skip to content

Commit

Permalink
Improve tables in docs (#375)
Browse files Browse the repository at this point in the history
* Improve tables in docs

* Typo
  • Loading branch information
nalimilan committed Dec 21, 2023
1 parent 398224f commit 2621e98
Showing 1 changed file with 25 additions and 25 deletions.
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

0 comments on commit 2621e98

Please sign in to comment.