Skip to content

Commit 285ecf3

Browse files
committed
Better changelog for 0.2.0.0
1 parent 51df90a commit 285ecf3

1 file changed

Lines changed: 29 additions & 12 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,43 @@
11
# Revision history for dataframe
22

3-
## 0.1.0.0
3+
## 0.2.0.0
4+
### Remove `Function` adt with a column expression syntax.
45

5-
* Initial release
6+
Previously, we tried to stay as close to Haskell as possible. We used the explicit
7+
ordering of the column names in the first part of the tuple to determine the function
8+
arguments and the a regular Haskell function that we evaluated piece-wise on each row.
69

7-
## 0.1.0.1
10+
```haskell
11+
let multiply (a :: Int) (b :: Double) = fromIntegral a * b
12+
let withTotalPrice = D.deriveFrom (["quantity", "item_price"], D.func multiply) "total_price" df
13+
```
814

9-
* Fixed parse failure on nested, escaped quotation.
10-
* Fixed column info when field name isn't found.
15+
Now, we have a column expression syntax that mirrors Pyspark and Polars.
1116

12-
## 0.1.0.2
17+
```haskell
18+
let withTotalPrice = D.derive "total_price" (D.lift fromIntegral (D.col @Int "quantity") * (D.col @Double"item_price")) df
19+
```
1320

21+
### Adds a coverage report to the repository (thanks to @oforero)
22+
We don't have good test coverage right now. This will help us determine where to invest.
23+
@oforero provided a script to make an HPC HTML report for coverage.
24+
25+
### Convenience functions for comparisons
26+
Instead of lifting all bool operations we provide `eq`, `leq` etc.
27+
28+
## 0.1.0.3
29+
* Use older version of correlation for ihaskell itegration
30+
31+
## 0.1.0.2
1432
* Change namespace from `Data.DataFrame` to `DataFrame`
1533
* Add `toVector` function for converting columns to vectors.
1634
* Add `impute` function for replacing `Nothing` values in optional columns.
1735
* Add `filterAllJust` to filter out all rows with missing data.
1836
* Add `distinct` function that returns a dataframe with distict rows.
1937

20-
## 0.1.0.3
21-
* Use older version of correlation for ihaskell itegration
38+
## 0.1.0.1
39+
* Fixed parse failure on nested, escaped quotation.
40+
* Fixed column info when field name isn't found.
2241

23-
# 0.2.0.0
24-
* Remove `Function` adt with a column expression syntax.
25-
* Adds a coverage report to the repository (thanks to @oforero)
26-
* Convenience functions for comparisons
42+
## 0.1.0.0
43+
* Initial release

0 commit comments

Comments
 (0)