dataframe 0.3.3.0 → 0.3.3.1
raw patch · 3 files changed
+6/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +3/−0
- dataframe.cabal +1/−1
- src/DataFrame/Operations/Subset.hs +2/−2
CHANGELOG.md view
@@ -1,5 +1,8 @@ # Revision history for dataframe +## 0.3.3.1+* Fix bug in `randomSplit` causing two splits to overlap.+ ## 0.3.3.0 * Better error messaging for expression failures. * Fix bug where exponentials were not being properly during CSV parsing.
dataframe.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: dataframe-version: 0.3.3.0+version: 0.3.3.1 synopsis: A fast, safe, and intuitive DataFrame library.
src/DataFrame/Operations/Subset.hs view
@@ -348,10 +348,10 @@ withRand = df & insertUnboxedVector "__rand__" rand in ( withRand- & filterWhere (BinaryOp "geq" (>=) (Col @Double "__rand__") (Lit (1 - p)))+ & filterWhere (BinaryOp "leq" (<=) (Col @Double "__rand__") (Lit p)) & exclude ["__rand__"] , withRand- & filterWhere (BinaryOp "geq" (<) (Col @Double "__rand__") (Lit p))+ & filterWhere (BinaryOp "gt" (>) (Col @Double "__rand__") (Lit p)) & exclude ["__rand__"] )