init research

This commit is contained in:
2026-02-08 11:20:43 -10:00
commit bdf064f54d
3041 changed files with 1592200 additions and 0 deletions
@@ -0,0 +1,21 @@
import org.jetbrains.kotlinx.dataframe.*
import org.jetbrains.kotlinx.dataframe.annotations.*
import org.jetbrains.kotlinx.dataframe.api.*
import org.jetbrains.kotlinx.dataframe.io.*
@DataSchema
interface Cars {
val year: Int
}
fun `Name is evaluated to age`(df: DataFrame<Cars>) {
val df1 = df.add("age") { 2022 - year }
val col = df1.age
}
fun `ReturnType is evaluated to Int`(df: DataFrame<Cars>) {
val df1 = df.add("age") { 2022 - year }
val col: DataColumn<Int> = df1.age
}
fun box() = "OK"