Skip to content

Commit 6aee26c

Browse files
committed
chore: Add examples to CHANGELOG
1 parent 7cf57f8 commit 6aee26c

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@
22

33
## 0.3.0.0
44
* Now supports inner joins
5-
* Aggregations are now expressions allowing for more expressive aggregation logic.
5+
```haskell
6+
ghci> df |> D.innerJoin ["key_1", "key_2"] other
7+
```
8+
* Aggregations are now expressions allowing for more expressive aggregation logic. Previously: `D.aggregate [("quantity", D.Mean), ("price", D.Sum)] df` now ``D.aggregate [(F.sum (F.col @Double "label") / (F.count (F.col @Double "label")) `F.as` "positive_rate")]``
69
* In GHCI, you can now create type-safe bindings for each column and use those in expressions.
10+
11+
```haskell
12+
ghci> :exposeColumns df
13+
ghci> D.aggregate [(F.sum label / F.count label) `F.as` "positive_rate"]
14+
```
715
* Added pandas and polars benchmarks.
816
* Performance improvements to `groupBy`.
917
* Various bug fixes.

0 commit comments

Comments
 (0)