Skip to content

Commit c97fd1a

Browse files
authored
Update dplyr example in comparisons.md (#2428)
1 parent 4b58684 commit c97fd1a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/src/man/comparisons.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,8 @@ In DataFrames.jl, it just works normally with an array of join keys specified in
178178
The following table compares the main functions of DataFrames.jl with the R package dplyr (version 1):
179179

180180
```R
181-
df <- tibble(id = c('a','b','c','d','e','f'),
182-
grp = c(1, 2, 1, 2, 1, 2),
183-
x = c(6, 5, 4, 3, 2, 1),
184-
y = c(4, 5, 6, 7, 8, 9),
185-
z = c(3, 4, 5, 6, 7, 8))
181+
df <- tibble(grp = rep(1:2, 3), x = 6:1, y = 4:9,
182+
z = c(3:7, NA), id = letters[1:6])
186183
```
187184

188185
| Operation | dplyr | DataFrames.jl |

0 commit comments

Comments
 (0)