Skip to content

Latest commit

 

History

History
217 lines (155 loc) · 6.81 KB

Compiler-Plugin.md

File metadata and controls

217 lines (155 loc) · 6.81 KB

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+), Maven (IDEA 2025.3+), and Kotlin Toolchain (0.12.0+, IDEA 2026.2.1+) projects!

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: