16 lines
363 B
Kotlin
Vendored
16 lines
363 B
Kotlin
Vendored
import org.jetbrains.kotlinx.dataframe.*
|
|
import org.jetbrains.kotlinx.dataframe.annotations.*
|
|
import org.jetbrains.kotlinx.dataframe.api.*
|
|
import org.jetbrains.kotlinx.dataframe.io.*
|
|
|
|
fun `Dsl is evaluated to `(df: DataFrame<*>) {
|
|
val df1 = df.add {
|
|
"col1" from { 5 }
|
|
expr { 5 } into "col2"
|
|
}
|
|
df1.col1
|
|
df1.col2
|
|
}
|
|
|
|
fun box() = "OK"
|