(->general-types datatype)Given a concrete datatype (e.g. :int32), returns the general
set of general types (e.g. #{:integer numerical}).
Given a concrete `datatype` (e.g. `:int32`), returns the general
set of general types (e.g. `#{:integer numerical}`).(as-regular-dataset ds)Remove grouping tag
Remove grouping tag
(column-names ds)(column-names ds columns-selector)(column-names ds columns-selector meta-field)Returns column names, given a selector. Columns-selector can be one of the following:
Column name can be anything.
column-names function returns names according to columns-selector and optional meta-field. meta-field is one of the following:
:name (default) - to operate on column names:datatype - to operated on column types:all - if you want to process all metadataDatatype groups are:
:type/numerical - any numerical type:type/float - floating point number (:float32 and :float64):type/integer - any integer:type/datetime - any datetime typeIf qualified keyword starts with :!type, complement set is used.
Returns column names, given a selector. Columns-selector can be one of the following: * :all keyword - selects all columns * column name - for single column * sequence of column names - for collection of columns * regex - to apply pattern on column names or datatype * filter predicate - to filter column names or datatype * type namespaced keyword for specific datatype or group of datatypes Column name can be anything. column-names function returns names according to columns-selector and optional meta-field. meta-field is one of the following: * `:name` (default) - to operate on column names * `:datatype` - to operated on column types * `:all` - if you want to process all metadata Datatype groups are: * `:type/numerical` - any numerical type * `:type/float` - floating point number (:float32 and :float64) * `:type/integer` - any integer * `:type/datetime` - any datetime type If qualified keyword starts with :!type, complement set is used.
(concrete-type? datatype)Returns true if datatype is a concrete datatype (e.g. :int32).
Returns true if `datatype` is a concrete datatype (e.g. :int32).
(general-types)Returns the set of general types e.g. (:integer, :logical, etc)
Returns the set of general types e.g. (:integer, :logical, etc)
(grouped? ds)Is dataset represents grouped dataset (result of group-by)?
Is `dataset` represents grouped dataset (result of `group-by`)?
(iterable-sequence? xs)Check if object is sequential, is column or maybe a reader (iterable)?
Check if object is sequential, is column or maybe a reader (iterable)?
(process-group-data ds f)(process-group-data ds f parallel?)Internal: The passed-in function is applied on all groups
Internal: The passed-in function is applied on all groups
(rank vs)(rank vs ties)(rank vs ties desc?)Sample ranks. See R docs. Rank uses 0 based indexing.
Possible tie strategies: :average, :first, :last, :random, :min, :max, :dense.
:dense is the same as in data.table::frank from R
Sample ranks. See [R docs](https://www.rdocumentation.org/packages/base/versions/3.6.1/topics/rank). Rank uses 0 based indexing. Possible tie strategies: `:average`, `:first`, `:last`, `:random`, `:min`, `:max`, `:dense`. `:dense` is the same as in `data.table::frank` from R
(types)Returns the set of concrete types e.g. (:int32, :float32, etc)
Returns the set of concrete types e.g. (:int32, :float32, etc)
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |