Liking cljdoc? Tell your friends :D

tech.ml.dataset.print


*default-print-column-max-width*clj

source

*default-print-line-policy*clj

source

*default-table-row-print-length*clj

source

dataset->strclj

(dataset->str ds)
(dataset->str ds options)

Convert a dataset to a string. Prints a single line header and then calls dataset-data->str.

For options documentation see dataset-data->str.

Convert a dataset to a string.  Prints a single line header and then calls
dataset-data->str.

For options documentation see dataset-data->str.
sourceraw docstring

dataset-data->strclj

(dataset-data->str dataset)
(dataset-data->str dataset options)

Convert the dataset values to a string.

Options may be provided in the dataset metadata or may be provided as an options map. The options map overrides the dataset metadata.

:print-index-range - The set of indexes to print. Defaults to: (range default-table-row-print-length) :print-line-policy - defaults to :repl - one of - :repl - multiline table - default nice printing for repl - :markdown - lines delimited by <br> - :single - Only print first line :print-column-max-width - set the max width of a column when printing.

Example for conservative printing: tech.ml.dataset.github-test> (def ds (with-meta ds (assoc (meta ds) :print-column-max-width 25 :print-line-policy :single)))

Convert the dataset values to a string.

  Options may be provided in the dataset metadata or may be provided
  as an options map.  The options map overrides the dataset metadata.

  :print-index-range - The set of indexes to print.  Defaults to:
    (range *default-table-row-print-length*)
  :print-line-policy - defaults to :repl - one of
    - :repl - multiline table - default nice printing for repl
    - :markdown - lines delimited by <br>
    - :single - Only print first line
  :print-column-max-width - set the max width of a column when printing.

  Example for conservative printing:
tech.ml.dataset.github-test> (def ds (with-meta ds
                                       (assoc (meta ds)
                                              :print-column-max-width 25
                                              :print-line-policy :single)))
sourceraw docstring

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

× close