Liking cljdoc? Tell your friends :D

tablecloth.api.dataset


columnsclj

(columns ds)
(columns ds result-type)

Returns columns of dataset. Result type can be any of:

  • :as-map
  • :as-double-arrays
  • :as-seqs
Returns columns of dataset. Result type can be any of:
* `:as-map`
* `:as-double-arrays`
* `:as-seqs`
sourceraw docstring

concatclj

(concat dataset & datasets)

Joins rows from other datasets

Joins rows from other datasets
sourceraw docstring

concat-copyingclj

(concat-copying dataset & datasets)

Joins rows from other datasets via a copy of data

Joins rows from other datasets via a copy of data
sourceraw docstring

datasetclj

(dataset)
(dataset data)
(dataset data
         {:keys [single-value-column-name column-names layout dataset-name
                 stack-trace? error-column?]
          :or {single-value-column-name :$value
               layout :as-rows
               stack-trace? false
               error-column? true}
          :as options})

Create dataset.

Dataset can be created from:

  • map of values and/or sequences
  • sequence of maps
  • sequence of columns
  • file or url
  • array of arrays
  • single value

Single value is set only when it's not possible to find a path for given data. If tech.ml.dataset throws an exception, it's won;t be printed. To print a stack trace, set stack-trace? option to true.

Create `dataset`.

Dataset can be created from:

* map of values and/or sequences
* sequence of maps
* sequence of columns
* file or url
* array of arrays
* single value

Single value is set only when it's not possible to find a path for given data. If tech.ml.dataset throws an exception, it's won;t be printed. To print a stack trace, set `stack-trace?` option to `true`.
sourceraw docstring

dataset?clj

(dataset? ds)

Is ds a dataset type?

Is `ds` a `dataset` type?
sourceraw docstring

empty-ds?clj

(empty-ds? ds)
source

get-entryclj

(get-entry ds column row)

Returns a single value from given column and row

Returns a single value from given column and row
sourceraw docstring

infoclj

(info ds)
(info ds result-type)

Returns a statistcial information about the columns of a dataset. result-type can be :descriptive or :columns

Returns a statistcial information about the columns of a dataset.
`result-type ` can be :descriptive or :columns
sourceraw docstring

(print-dataset ds)
(print-dataset ds options)

Prints dataset into console. For options see tech.v3.dataset.print/dataset-data->str

Prints dataset into console. For options see
tech.v3.dataset.print/dataset-data->str
sourceraw docstring

rowsclj

(rows ds)
(rows ds result-type)

Returns rows of dataset. Result type can be any of:

  • :as-maps
  • :as-double-arrays
  • :as-seqs
Returns rows of dataset. Result type can be any of:
* `:as-maps`
* `:as-double-arrays`
* `:as-seqs`
sourceraw docstring

shapeclj

(shape ds)

Returns shape of the dataset [rows, cols]

Returns shape of the dataset [rows, cols]
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close