following https://github.com/Kotlin/dataframe/pull/1073 Needs to be linked to from JSON reading and some statistics functions