Skip to content

Commit 71734ad

Browse files
authored
7->6 (#7081)
1 parent f2ebd83 commit 71734ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vignettes/datatable-joins.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,9 +653,9 @@ ProductPriceHistory[ProductSales,
653653
j = .(product_id, date, count, price)]
654654
```
655655

656-
## 7. Taking advantage of joining speed
656+
## 6. Taking advantage of joining speed
657657

658-
### 7.1. Subsets as joins
658+
### 6.1. Subsets as joins
659659

660660
As we just saw in the prior section the `x` table gets filtered by the values available in the `i` table. This process is faster than passing a Boolean expression to the `i` argument.
661661

@@ -698,7 +698,7 @@ Products[!"popcorn",
698698

699699

700700

701-
### 7.2. Updating by reference
701+
### 6.2. Updating by reference
702702

703703
The `:=` operator in `data.table` is used for updating or adding columns by reference. This means it modifies the original `data.table` without creating a copy, which is very memory-efficient, especially for large datasets. When used inside a `data.table`, `:=` allows you to **add new columns** or **modify existing ones** as part of your query.
704704

0 commit comments

Comments
 (0)