(missing col)
Indexes of missing values
Indexes of missing values
(column-name col)
(metadata col)
Return the metadata map for this column. Metadata must contain :name :type :size. Categorical columns must have :categorical? true and the inference target should have :target? true.
Return the metadata map for this column. Metadata must contain :name :type :size. Categorical columns must have :categorical? true and the inference target should have :target? true.
(stats col stats-set)
Return a map of stats. Stats set is a set of the desired stats in keyword form. Guaranteed support across implementations for :mean :variance :median :skew. Implementations should check their metadata before doing calculations.
Return a map of stats. Stats set is a set of the desired stats in keyword form. Guaranteed support across implementations for :mean :variance :median :skew. Implementations should check their metadata before doing calculations.
(set-name col name)
Return a new column.
Return a new column.
(select col idx-seq)
Return a new column with the subset of indexes
Return a new column with the subset of indexes
(set-missing col long-rdr)
Set this group of indexes as the missing set
Set this group of indexes as the missing set
(unique col)
Set of all unique values
Set of all unique values
(correlation col other-column correlation-type)
Return the correlation coefficient Supported types are: :pearson :spearman :kendall
Return the correlation coefficient Supported types are: :pearson :spearman :kendall
(new-column col datatype elem-count-or-values missing-set metadata)
Return a new column of this supertype with these values
Return a new column of this supertype with these values
(set-metadata col data-map)
Set the metadata on the column returning a new column.
Set the metadata on the column returning a new column.
(is-missing? col idx)
Return true if this index is missing.
Return true if this index is missing.
(supported-stats col)
List of available stats for the column
List of available stats for the column
(to-double-array col error-on-missing?)
Convert to a java primitive array of a given datatype. For strings, an implicit string->double mapping is expected. For booleans, true=1 false=0. Finally, any missing values should be indicated by a NaN of the expected type.
Convert to a java primitive array of a given datatype. For strings, an implicit string->double mapping is expected. For booleans, true=1 false=0. Finally, any missing values should be indicated by a NaN of the expected type.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close