Skip to content

Commit 9cc247d

Browse files
authored
Update datatable-joins.Rmd #7177 lines 120 442
substitue > by Notes:
1 parent 5f3781e commit 9cc247d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vignettes/datatable-joins.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ x[i, on, nomatch]
117117
\____ secondary data.table
118118
```
119119

120-
> Please keep in mind that the standard argument order in `data.table` is `dt[i, j, by]`. For join operations, it is recommended to pass the `on` and `nomatch` arguments by name to avoid using `j` and `by` when they are not needed.
120+
Note: Please keep in mind that the standard argument order in `data.table` is `dt[i, j, by]`. For join operations, it is recommended to pass the `on` and `nomatch` arguments by name to avoid using `j` and `by` when they are not needed.
121121

122122
## 3. Equi joins
123123

@@ -439,7 +439,7 @@ ProductReceived[ProductSales,
439439
allow.cartesian = TRUE]
440440
```
441441

442-
> `allow.cartesian` is defaulted to FALSE as this is seldom what the user wants, and such a cross join can lead to a very large number of rows in the result. For example, if Table A has 100 rows and Table B has 50 rows, their Cartesian product would result in 5000 rows (100 * 50). This can quickly become memory-intensive for large datasets.
442+
Note: `allow.cartesian` is defaulted to FALSE as this is seldom what the user wants, and such a cross join can lead to a very large number of rows in the result. For example, if Table A has 100 rows and Table B has 50 rows, their Cartesian product would result in 5000 rows (100 * 50). This can quickly become memory-intensive for large datasets.
443443

444444

445445
#### 3.6.1. Selecting one match

0 commit comments

Comments
 (0)