blob: 3fdc9845e0cb909602392877229d160ab2aa48e8 [file]
import org.jetbrains.kotlinx.dataframe.*
import org.jetbrains.kotlinx.dataframe.annotations.*
import org.jetbrains.kotlinx.dataframe.api.*
import org.jetbrains.kotlinx.dataframe.io.*
class KotlinRecord {
fun getI(): Int {
return 1
}
}
fun box(): String {
val df = listOf(KotlinRecord()).toDataFrame(maxDepth = 2)
val i: Int = df.i[0]
df.compareSchemas(strict = true)
return "OK"
}