A bit more about group_by()
This commit is contained in:
@@ -420,6 +420,7 @@ flights |>
|
|||||||
|
|
||||||
`group_by()` doesn't change the data but, if you look closely at the output, you'll notice that it's now "grouped by" month.
|
`group_by()` doesn't change the data but, if you look closely at the output, you'll notice that it's now "grouped by" month.
|
||||||
This means subsequent operations will now work "by month".
|
This means subsequent operations will now work "by month".
|
||||||
|
`group_by()` doesn't do anything by itself; instead it changes the behavior of the subsequent verbs.
|
||||||
|
|
||||||
### `summarize()` {#sec-summarize}
|
### `summarize()` {#sec-summarize}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user