|
1 | 1 | # Revision history for dataframe |
2 | 2 |
|
3 | | -## 0.1.0.0 |
| 3 | +## 0.2.0.0 |
| 4 | +### Remove `Function` adt with a column expression syntax. |
4 | 5 |
|
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. |
6 | 9 |
|
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 | +``` |
8 | 14 |
|
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. |
11 | 16 |
|
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 | +``` |
13 | 20 |
|
| 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 |
14 | 32 | * Change namespace from `Data.DataFrame` to `DataFrame` |
15 | 33 | * Add `toVector` function for converting columns to vectors. |
16 | 34 | * Add `impute` function for replacing `Nothing` values in optional columns. |
17 | 35 | * Add `filterAllJust` to filter out all rows with missing data. |
18 | 36 | * Add `distinct` function that returns a dataframe with distict rows. |
19 | 37 |
|
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. |
22 | 41 |
|
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