Bindings to the smile DataFrame system, version 2.6
Bindings to the smile DataFrame system, version 2.6
(dataset->smile-dataframe ds)
Convert a dataset to a smile dataframe.
This operation may clone columns if they aren't backed by java heap arrays.
See tech.v3.dataset/ensure-array-backed
.
It is important to note that smile supports a subset of the functionality in tech.v3.dataset. One difference is smile columns have string column names and have no missing set.
Returns a smile.data.DataFrame
Convert a dataset to a smile dataframe. This operation may clone columns if they aren't backed by java heap arrays. See `tech.v3.dataset/ensure-array-backed`. It is important to note that smile supports a subset of the functionality in tech.v3.dataset. One difference is smile columns have string column names and have no missing set. Returns a smile.data.DataFrame
(smile-column->column smile-vec)
(smile-column->column smile-vec
{:keys [unify-strings?] :or {unify-strings? true}})
Convert a smile column into a tmd column. Note that missing sets are not supported by smile.
Options:
:unify-strings
- defaults to true - Use per-column string tables to reduce
the memory overead of the Smile dataframe.Convert a smile column into a tmd column. Note that missing sets are not supported by smile. Options: * `:unify-strings` - defaults to true - Use per-column string tables to reduce the memory overead of the Smile dataframe.
(smile-dataframe->dataset df)
(smile-dataframe->dataset df options)
Convert a smile datarame into a dataset.
Options:
:unify-strings
- defaults to true - Use per-column string tables to reduce
the memory overead of the Smile dataframe.:key-fn
- Use a key-fn to convert the smile column names.Convert a smile datarame into a dataset. Options: * `:unify-strings` - defaults to true - Use per-column string tables to reduce the memory overead of the Smile dataframe. * `:key-fn` - Use a key-fn to convert the smile column names.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close