(strategy-fold ds columns-selector)
(strategy-fold ds columns-selector fold-fn)
(strategy-fold ds columns-selector fold-fn ungroup-options)
(unique-by ds)
(unique-by ds columns-selector)
(unique-by
ds
columns-selector
{:keys [strategy select-keys parallel?] :or {strategy :first} :as options})
Remove rows which contains the same data
column-selector
Select columns for uniqueness
strategy
There are 4 strategies defined to handle duplicates
:first
- select first row (default)
:last
- select last row
:random
- select random row
any function - apply function to a columns which are subject of uniqueness
Remove rows which contains the same data `column-selector` Select columns for uniqueness `strategy` There are 4 strategies defined to handle duplicates `:first` - select first row (default) `:last` - select last row `:random` - select random row any function - apply function to a columns which are subject of uniqueness
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close