From 3daa9a2107860ca79efb5fbda5e9099d51610bb8 Mon Sep 17 00:00:00 2001 From: Jerome Swannack Date: Sat, 11 Nov 2023 09:12:58 +1300 Subject: [PATCH] Added dprint-ignore blocks to allow linter to pass --- docs/user-guide/expressions/aggregation.md | 4 ++++ docs/user-guide/installation.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/user-guide/expressions/aggregation.md b/docs/user-guide/expressions/aggregation.md index 2e861f606e28..2a036ed82322 100644 --- a/docs/user-guide/expressions/aggregation.md +++ b/docs/user-guide/expressions/aggregation.md @@ -14,6 +14,8 @@ make any combination you want. In the snippet below we do the following aggregat Per GROUP `"first_name"` we + + - count the number of rows in the group: - short form: `pl.count("party")` - full form: `pl.col("party").count()` @@ -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()` + + Besides the aggregation, we immediately sort the result and limit to the top `5` so that we have a nice summary overview. diff --git a/docs/user-guide/installation.md b/docs/user-guide/installation.md index 9454700b3413..f5fe7ef143c4 100644 --- a/docs/user-guide/installation.md +++ b/docs/user-guide/installation.md @@ -67,6 +67,8 @@ polars = { version = "0.26.1", features = ["lazy", "temporal", "describe", "json The opt-in features are: + + - Additional data types: - `dtype-date` - `dtype-datetime` @@ -171,3 +173,5 @@ The opt-in features are: - `propagate_nans` NaN propagating min/max aggregations. - `DataFrame` pretty printing - `fmt` - Activate DataFrame formatting + +