File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
+ # 7.040
3
+ * Fix for [ issue 450] ( https://github.com/techascent/tech.ml.dataset/issues/450 ) - emapped columns could reduce as
4
+ a different type than declared in the emap declaration.
5
+ * Small perf improvements for unique-by.
6
+
2
7
# 7.039
3
8
* Fix error in dtype-next/native-buffer/native-buffer->byte-array
4
9
Original file line number Diff line number Diff line change 1
1
{:paths [" src" " resources" " target/classes" ]
2
2
:deps {; ;org.clojure/clojure {:mvn/version "1.11.1"}
3
- cnuernber/dtype-next {:mvn/version " 10.128 " }
3
+ cnuernber/dtype-next {:mvn/version " 10.129 " }
4
4
techascent/tech.io {:mvn/version " 4.31"
5
5
:exclusions [org.apache.commons/commons-compress]}
6
6
org.apache.datasketches/datasketches-java {:mvn/version " 4.2.0" }
Original file line number Diff line number Diff line change 1775
1775
(ds/column :a )
1776
1776
(vec )))))
1777
1777
1778
+ (deftest issue-450-incorrect-distinct
1779
+ (is (= 2
1780
+ (->
1781
+ (ds/->dataset {:y [:a :b :b :a :a :a :b :b ]})
1782
+ (ds/categorical->number [:y ] [] :float64 )
1783
+ :y
1784
+ distinct
1785
+ count))))
1786
+
1778
1787
(comment
1779
1788
(require '[criterium.core :as crit])
1780
1789
(def data (vec (repeatedly 100000 (fn [] {:a (rand-int 20 ) :b (rand ) :c (rand )}))))
You can’t perform that action at this time.
0 commit comments