Skip to content

Commit

Permalink
Update aggregation.md
Browse files Browse the repository at this point in the history
Explanation did not match code example.
  • Loading branch information
w00kie authored Jul 25, 2024
1 parent c537ba3 commit a87ff31
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/user-guide/expressions/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ Per GROUP `"first_name"` we
<!-- dprint-ignore-start -->

- count the number of rows in the group:
- short form: `pl.count("party")`
- full form: `pl.col("party").count()`
- full form: `pl.len()`
- aggregate the gender values groups:
- full form: `pl.col("gender")`
- get the first value of column `"last_name"` in the group:
Expand Down

0 comments on commit a87ff31

Please sign in to comment.