17 lines
368 B
Kotlin
Vendored
17 lines
368 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.*
|
|
|
|
@DataSchema
|
|
class Schema(
|
|
val a: Int,
|
|
val b: String
|
|
)
|
|
|
|
fun box(): String {
|
|
val df = dataFrameOf(Schema(1, "foo")).append(Schema(2, "bar"))
|
|
df.print()
|
|
return "OK"
|
|
}
|