Update data-transform.qmd (#1231)
Line 206. Changed "you'll want to the distinct..." to "you'll want the distinct..."
This commit is contained in:
@@ -203,7 +203,7 @@ flights |>
|
|||||||
### `distinct()`
|
### `distinct()`
|
||||||
|
|
||||||
`distinct()` finds all the unique rows in a dataset, so in a technical sense, it primarily operates on the rows.
|
`distinct()` finds all the unique rows in a dataset, so in a technical sense, it primarily operates on the rows.
|
||||||
Most of the time, however, you'll want to the distinct combination of some variables, so you can also optionally supply column names:
|
Most of the time, however, you'll want the distinct combination of some variables, so you can also optionally supply column names:
|
||||||
|
|
||||||
```{r}
|
```{r}
|
||||||
# This would remove any duplicate rows if there were any
|
# This would remove any duplicate rows if there were any
|
||||||
|
|||||||
Reference in New Issue
Block a user