DataFrame 1.0 Help

Setup Kotlin DataFrame in Maven

Kotlin DataFrame can be added as a usual Maven dependency to your Kotlin project.

Create a Kotlin project

  1. In IntelliJ IDEA, select File | New | Project.

  2. In the panel on the left, select New Project.

  3. Name the new project and change its location, if necessary.

  4. From the Language list, select Kotlin.

  5. Select the Maven build system.

  6. From the JDK list, select the JDK that you want to use in your project. The minimum supported version is JDK 8.

    • If the JDK is installed on your computer, but not defined in the IDE, select Add JDK and specify the path to the JDK home directory.

    • If you don't have the necessary JDK on your computer, select Download JDK.

  7. Select the Add sample code checkbox to create a file with a sample "Hello World!" application.

  8. Click Create.

You have successfully created a project with Maven.

Add Kotlin DataFrame Maven dependency

In your Maven build file (pom.xml), add the Kotlin DataFrame library as a dependency:

<dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>dataframe</artifactId> <version>1.0.0-Beta4</version> </dependency>

This will add general Kotlin DataFrame dependency, i.e., core API and implementation as well as all IO modules (excluding experimental ones).
You can add only the core API module and the specific modules you need.

Hello World

Let’s create your first DataFrame — a simple "Hello, World!" style example:

import org.jetbrains.kotlinx.dataframe.api.dataFrameOf import org.jetbrains.kotlinx.dataframe.api.print fun main() { val df = dataFrameOf( "name" to listOf("Alice", "Bob"), "age" to listOf(25, 30) ) df.print() }

Kotlin DataFrame Compiler Plugin

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

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

<plugin> <artifactId>kotlin-maven-plugin</artifactId> <groupId>org.jetbrains.kotlin</groupId> <version>2.3.0-RC3</version> <configuration> <compilerPlugins> <plugin>kotlin-dataframe</plugin> </compilerPlugins> </configuration> <dependencies> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-dataframe</artifactId> <version>2.3.0-RC3</version> </dependency> </dependencies> </plugin>

Project Example

See the Maven example project with the Kotlin DataFrame Compiler Plugin enabled on GitHub.

You can also download this project.

Next Steps

19 December 2025