Files
df-research/dataframe/docs/StardustDocs/topics/Compiler-Plugin.md
2026-02-08 11:20:43 -10:00

5.1 KiB
Vendored

Setup And Overview

Explore the Kotlin DataFrame Compiler Plugin — a powerful tool providing on-the-fly type-safe column-accessors for dataframes. Explore the Kotlin DataFrame Compiler Plugin — a powerful tool providing on-the-fly type-safe column-accessors for dataframes. Explore the Kotlin DataFrame Compiler Plugin — a powerful tool providing on-the-fly type-safe column-accessors for dataframes.

Now available in Gradle (IDEA 2025.2+) and Maven (IDEA 2025.3+) projects, is coming soon to Kotlin Notebook.

Kotlin DataFrame Compiler Plugin is a Kotlin compiler plugin that automatically generates
type-safe extension properties for your dataframes,
allowing you to access columns and row values in a type-safe way and avoid mistakes in column names.

Why use it?

  • Access columns as regular properties: df.name instead of df["name"].
  • Get full IDE and compiler support: autocompletion, refactoring, and type checking.
  • Improve code readability and safety when working with DataFrame.

Check out this video that shows how expressions update the schema of a dataframe: