Skip to content

Commit

Permalink
Added dprint-ignore blocks to allow linter to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jerome3o committed Nov 10, 2023
1 parent 2912762 commit 3daa9a2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/user-guide/expressions/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ make any combination you want. In the snippet below we do the following aggregat

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()`
Expand All @@ -23,6 +25,8 @@ Per GROUP `"first_name"` we
- short form: `pl.first("last_name")` (not available in Rust)
- full form: `pl.col("last_name").first()`

<!-- dprint-ignore-end -->

Besides the aggregation, we immediately sort the result and limit to the top `5` so that
we have a nice summary overview.

Expand Down
4 changes: 4 additions & 0 deletions docs/user-guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ polars = { version = "0.26.1", features = ["lazy", "temporal", "describe", "json

The opt-in features are:

<!-- dprint-ignore-start -->

- Additional data types:
- `dtype-date`
- `dtype-datetime`
Expand Down Expand Up @@ -171,3 +173,5 @@ The opt-in features are:
- `propagate_nans` NaN propagating min/max aggregations.
- `DataFrame` pretty printing
- `fmt` - Activate DataFrame formatting

<!-- dprint-ignore-end -->

0 comments on commit 3daa9a2

Please sign in to comment.