blob: 7da3cec70e6391f975005f5c29d0d44e2c907aa3 [file]
import org.jetbrains.kotlinx.dataframe.*
import org.jetbrains.kotlinx.dataframe.api.*
fun box(): String {
val df = dataFrameOf("a", "b", "c")(1, 2, 3, 4, 5, 6)
val dfWithD = df.insert("d") { b * c }.before { a }
dfWithD.checkCompileTimeSchemaEqualsRuntime()
val dCol: DataColumn<Int> = dfWithD.d
return "OK"
}