columnOf(arrayOf(1)).type shouldBe typeOf<Array<Int>>() but is Array<*> instead.
Other cases, like columnOf(intArrayOf(1)) or columnOf(arrayOf(1, null)) work fine.
DataColumn.createValueColumn("c", listOf(arrayOf(1))) also works fine.
My theory is that it occurs because, due to https://github.com/Kotlin/dataframe/issues/678, the classifier of the Array<Int> becomes IntArray, which has no type arguments. Still, it needs to be investigated.
Probably related to https://github.com/Kotlin/dataframe/issues/678.
columnOf(arrayOf(1)).type shouldBe typeOf<Array<Int>>()
but isArray<*>
instead.Other cases, like
columnOf(intArrayOf(1))
orcolumnOf(arrayOf(1, null))
work fine.DataColumn.createValueColumn("c", listOf(arrayOf(1)))
also works fine.My theory is that it occurs because, due to https://github.com/Kotlin/dataframe/issues/678, the classifier of the
Array<Int>
becomesIntArray
, which has no type arguments. Still, it needs to be investigated.