(metadata dataset)
(remove-column dataset col-name)
Failes quietly
Failes quietly
(supported-column-stats dataset)
Return the set of natively supported stats for the dataset. This must be at least #{:mean :variance :median :skew}.
Return the set of natively supported stats for the dataset. This must be at least #{:mean :variance :median :skew}.
(select dataset colname-seq index-seq)
Reorder/trim dataset according to this sequence of indexes. Returns a new dataset. colname-seq - either keyword :all or list of column names with no duplicates. index-seq - either keyword :all or list of indexes. May contain duplicates.
Reorder/trim dataset according to this sequence of indexes. Returns a new dataset. colname-seq - either keyword :all or list of column names with no duplicates. index-seq - either keyword :all or list of indexes. May contain duplicates.
(add-column dataset column)
Error if columns exists
Error if columns exists
(update-column dataset col-name update-fn)
Update a column returning a new dataset. update-fn is a column->column transformation. Error if column does not exist.
Update a column returning a new dataset. update-fn is a column->column transformation. Error if column does not exist.
(add-or-update-column dataset col-name col-data)
If column exists, replace. Else append new column.
If column exists, replace. Else append new column.
(maybe-column dataset column-name)
Return either column if exists or nil.
Return either column if exists or nil.
(columns dataset)
(set-metadata dataset meta-map)
(dataset-name dataset)
(set-dataset-name dataset name)
(from-prototype dataset table-name column-seq)
Create a new dataset that is the same type as this one but with a potentially different table name and column sequence. Take care that the columns are all of the correct type.
Create a new dataset that is the same type as this one but with a potentially different table name and column sequence. Take care that the columns are all of the correct type.
(select-columns-by-index dataset num-seq)
Select a subset of columns by index.
Select a subset of columns by index.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close