llms.txt: machine-readable documentation index. Markdown version of this page is also available.

DataFrame Help

Setup Kotlin DataFrame on Android

1. Add the plugin

Kotlin DataFrame Compiler Plugin enables automatic generation of extension properties and updates data schemas on-the-fly in Android projects, making development with Kotlin DataFrame faster, more convenient, and fully type- and name-safe.

To enable the plugin in your Gradle project, add it to the plugins section:

plugins { kotlin("plugin.dataframe") version "2.4.21" }
plugins { id 'org.jetbrains.kotlin.plugin.dataframe' version '2.4.21' }

In versions older than Kotlin 2.4.0, add the following line to your gradle.properties:

kotlin.incremental=false

2. Add the library

Kotlin DataFrame doesn't provide a dedicated Android artifact yet, but you can add the Kotlin DataFrame JVM dependency to your Android project with minimal configuration:

dependencies { // Core Kotlin DataFrame API, CSV and JSON IO. // See custom Gradle setup: // https://kotlin.github.io/dataframe/setupcustomgradle.html implementation("org.jetbrains.kotlinx:dataframe-core:1.0.0-rc02") implementation("org.jetbrains.kotlinx:dataframe-json:1.0.0-rc02") implementation("org.jetbrains.kotlinx:dataframe-csv:1.0.0-rc02") // You can add any additional IO modules you like, except for 'dataframe-arrow'. // Apache Arrow is not well supported on Android. }
dependencies { // Core Kotlin DataFrame API, CSV and JSON IO. // See custom Gradle setup: // https://kotlin.github.io/dataframe/setupcustomgradle.html implementation 'org.jetbrains.kotlinx:dataframe-core:1.0.0-rc02' implementation 'org.jetbrains.kotlinx:dataframe-json:1.0.0-rc02' implementation 'org.jetbrains.kotlinx:dataframe-csv:1.0.0-rc02' // You can add any additional IO modules you like, except for 'dataframe-arrow'. // Apache Arrow is not well supported on Android. }

Next Steps

02 November 2026