File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/impl/columns Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import org.jetbrains.kotlinx.dataframe.DataColumn
55import org.jetbrains.kotlinx.dataframe.api.dataFrameOf
66import org.jetbrains.kotlinx.dataframe.impl.isArray
77import org.jetbrains.kotlinx.dataframe.impl.isPrimitiveArray
8+ import org.jetbrains.kotlinx.dataframe.kind
89import kotlin.reflect.KClass
910import kotlin.reflect.KType
1011import kotlin.reflect.full.isSubclassOf
@@ -37,7 +38,7 @@ internal abstract class DataColumnImpl<T>(
3738 if (BuildConfig .DEBUG ) {
3839 require(values.all { it matches type }) {
3940 val types = values.map { if (it == null ) " Nothing?" else it!! ::class .simpleName }.distinct()
40- " Values of column '$name ' have types '$types ' which are not compatible given with column type '$type '"
41+ " Values of $kind '$name ' have types '$types ' which are not compatible given with column type '$type '"
4142 }
4243 }
4344 }
You can’t perform that action at this time.
0 commit comments