Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎样才能洗牌一个 incanter 数据集?
(shuffle (:rows data-set))
仅返回地图的 clojure 向量。
这对我有用:
(col-names data-set) (dataset (col-names data-set) (shuffle (:rows data-set)))
注意:dataset是incanter数据集类型。Whiledata-set是包含我的数据的那种类型的实例。
dataset
data-set