krangl / krangl / toMap

toMap

fun DataFrame.toMap(): Map<String, Array<*>>

Expose a view on the data as map from column names to nullable arrays.

In particular, this allows to use dataframes as input for lets-plot (see https://github.com/holgerbrandl/krangl/issues/86).