Data Science and Notebooks

tech.ml.dataset, tablecloth Clerk, Clay, Notespace Notebooks from Clojure source files

Hanami, Oz, Vega-Lite wrappers fastmath, neanderthal (GPU/MKL linear algebra) Math and numerics scicloj.ml / metamorph.ml

Use Python libraries (NumPy, pandas, PyTorch) from Clojure Onyx, Jackdaw (Kafka Streams), Spark (geni)

The Scicloj community coordinates the Clojure data science ecosystem.

;; tablecloth: dataframes (built on tech.ml.dataset)
(require '[tablecloth.api :as tc])
(def ds (tc/dataset "sales.csv" {:key-fn keyword}))
(-> ds
    (tc/select-rows #(> (:amount %) 100))
    (tc/group-by [:region])
    (tc/aggregate {:total #(reduce + (% :amount))})
    (tc/order-by [:total] :desc))