dataframe / core
AGENTS.md1.1k starsChanged 26 days agoApache-2.0View on GitHub
Guidance for this module. See the root AGENTS.md for repo-wide build/style/KoDEx rules; only module-specific details are here. core is the base module (artifact dataframe-core) — it has no dependency on any other dataframe-* module; everything else depends on it. Paths below abbreviate core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/ as …/. Top-level public interfaces, each in its own file at …/: - DataFrame<out T> (DataFrame.kt) — immutable, ordered list of columns (distinct non-empty names, equal sizes). T is a schema marker (covariant), not stored data —…
Trending
Less talk lately.about the whole repository
Who's talking about Kotlin/dataframe
- Kotlin/kandy“Support compose multiplatform”GitHub · Dec 14, 2023 · 45 reactions
- Kotlin/kotlin-agent-skills“Add a Skill for working with Kotlin DataFrame”GitHub · May 19, 2026 · 6 reactions
- deephaven/deephaven-csv“Read files with different encodings”GitHub · Nov 11, 2025 · 2 reactions
- Velkonost/sssss“deps(gradle): bump org.jetbrains.kotlinx:dataframe from 0.13.1 to 0.15.0”GitHub · Oct 15, 2025 · 2 reactions
- jeremymailen/kotlinter-gradle“Wired issues when Upgrading to Kotlin 1.8.20 ”GitHub · Apr 12, 2023 · 2 reactions
The biggest 5 of 51 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 51
Talked about on GitHub and Bluesky (51 times).
On GitHub · 50
- Dec 14, 2023Support compose multiplatform — Kotlin/kandy45 reactions · 7 comments
- May 19, 2026Add a Skill for working with Kotlin DataFrame — Kotlin/kotlin-agent-skills6 reactions
- Nov 11, 2025Read files with different encodings — deephaven/deephaven-csv2 reactions · 2 comments
- Oct 15, 2025deps(gradle): bump org.jetbrains.kotlinx:dataframe from 0.13.1 to 0.15.0 — Velkonost/sssss2 reactions · 1 comment
- Apr 12, 2023Wired issues when Upgrading to Kotlin 1.8.20 — jeremymailen/kotlinter-gradle2 reactions · 9 comments
45 more on GitHub
- Sep 25, 2026fix(deps): update all dependencies — salesforce-misc/ReVoman1 reaction · 1 comment
- Dec 9, 2024chore(deps): update dependency org.jetbrains.kotlinx:dataframe to v0.15.0 — Kotlin/kotlin-jupyter-libraries1 reaction
- May 27, 2024Remove `concatFixed()` — Kotlin/kandy1 reaction
- Nov 1, 2026build(deps): bump kotlinx-dataframe from 1.0.0-rc02 to 1.0.0-rc02n — sureshg/native-image-playground0 reactions · 2 comments
- Oct 30, 2026[KDF] Support columnOf(vararg DataFrame) FrameColumn creation — JetBrains/kotlin0 reactions · 18 comments
- Oct 29, 2026Move `@sample` after the removal of escape characters — Jolanrensen/KoDEx0 reactions · 2 comments
- Oct 26, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc02 to 1.0.0-rc02n — sureshg/build-commons0 reactions
- Oct 19, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc02n — sureshg/kotlin-mpp-playground0 reactions · 2 comments
- Oct 19, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc02 to 1.0.0-rc02n — sureshg/build-commons0 reactions
- Oct 16, 2026Fix generated jars and support publishing KoDEx-processed artifacts — Jolanrensen/KoDEx0 reactions
- Oct 15, 2026chore(deps): update dependency org.jetbrains.kotlinx:dataframe-geo to v1.0.0-rc02n - autoclosed — Kotlin/kotlin-jupyter-libraries0 reactions
- Oct 12, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Oct 7, 2026[KDF] (Attempt 2) Fixed return type mismatch report, like when using `add {}` — JetBrains/kotlin0 reactions · 12 comments
- Oct 5, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Oct 2, 2026[KDF] Fixed return type mismatch report, like when using `add {}` — JetBrains/kotlin0 reactions · 8 comments
- Oct 1, 2026build(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/native-image-playground0 reactions · 2 comments
- Sep 28, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Sep 21, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Sep 14, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Sep 11, 2026Bump org.jetbrains.kotlinx:dataframe from 1.0.0-rc01 to 1.0.0-rc01n — linde9821/epa-visualizer0 reactions
- Sep 7, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Aug 31, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Aug 24, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Aug 21, 2026[Feature] Create a preprocessor that adds/creates reference aliases with codespans — Jolanrensen/KoDEx0 reactions
- Aug 10, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Aug 3, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Aug 1, 2026build(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/native-image-playground0 reactions · 2 comments
- Jul 27, 2026Bumped built-in dataframe version to 1.0.0-rc01 — JetBrains/kotlin-toolchain0 reactions · 3 comments
- Jul 27, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-rc01 to 1.0.0-rc01n — sureshg/build-commons0 reactions
- Jul 20, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-rc01n — sureshg/kotlin-mpp-playground0 reactions · 2 comments
- Jul 20, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-Beta5n — sureshg/build-commons0 reactions
- Jul 13, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-Beta5n — sureshg/build-commons0 reactions
- Jul 6, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-Beta5n — sureshg/build-commons0 reactions
- Jul 1, 2026build(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-Beta5n — sureshg/native-image-playground0 reactions · 2 comments
- Jun 25, 2026Kotlin SWE benchmark contribution — multi-swe-bench/multi-swe-benchsays it tested it0 reactions
- Jun 22, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-Beta5n — sureshg/build-commons0 reactions
- Jun 15, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-Beta5n — sureshg/kotlin-mpp-playground0 reactions · 2 comments
- Jun 15, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-Beta5n — sureshg/build-commons0 reactions
- Jun 8, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-dev-10584 — sureshg/kotlin-mpp-playground0 reactions · 2 comments
- Jun 8, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-dev-10535 — sureshg/build-commons0 reactions
- Jun 2, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-dev-10508 — sureshg/build-commons0 reactions
- Jun 1, 2026build(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-dev-10508 — sureshg/native-image-playground0 reactions · 2 comments
- May 25, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-dev-10485 — sureshg/build-commons0 reactions
- May 18, 2026chore(deps): bump kotlinx-dataframe from 1.0.0-Beta5 to 1.0.0-dev-10438 — sureshg/build-commons0 reactions
- Oct 29, 2025[K2] TranslatorError: from STATUS to IMPLICIT_TYPES_BODY_RESOLVE — Kotlin/dokka0 reactions · 3 comments
On Bluesky · 1
- May 19, 2025Kotlin DataFrame aims to reconcile Kotlin's static typing with the dynamic nature of data by utilizing both the full power of the Kotlin… — @ytroncal.bsky.social1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,542 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dataframe-arrow/AGENTS.mdAGENTS.md
- dataframe-compiler-plugin-core/AGENTS.mdAGENTS.md
- dataframe-csv/AGENTS.mdAGENTS.md
- dataframe-excel/AGENTS.mdAGENTS.md
- dataframe-geo/AGENTS.mdAGENTS.md
- dataframe-jdbc/AGENTS.mdAGENTS.md
- dataframe-json/AGENTS.mdAGENTS.md
- examples/AGENTS.mdAGENTS.md
- plugins/AGENTS.mdAGENTS.md
- samples/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- core/CLAUDE.mdCLAUDE.md
- dataframe-arrow/CLAUDE.mdCLAUDE.md
- dataframe-compiler-plugin-core/CLAUDE.mdCLAUDE.md
- dataframe-csv/CLAUDE.mdCLAUDE.md
- dataframe-excel/CLAUDE.mdCLAUDE.md
- dataframe-geo/CLAUDE.mdCLAUDE.md
- dataframe-jdbc/CLAUDE.mdCLAUDE.md
- dataframe-json/CLAUDE.mdCLAUDE.md
- examples/CLAUDE.mdCLAUDE.md
- plugins/CLAUDE.mdCLAUDE.md
- samples/CLAUDE.mdCLAUDE.md
- operation-website-documentationSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 131
Run just this module: ./gradlew core:test (add -Pkotlin.dataframe.debug=true to match CI).
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — core
Guidance for this module. See the root AGENTS.md for repo-wide build/style/KoDEx rules; only module-specific
details are here. core is the base module (artifact dataframe-core) — it has no dependency on any other
dataframe-* module; everything else depends on it.
Paths below abbreviate core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/ as …/.
Central types & the column model
Top-level public interfaces, each in its own file at …/:
DataFrame<out T>(DataFrame.kt) — immutable, ordered list of columns (distinct non-empty names, equal sizes).Tis a schema marker (covariant), not stored data — it resolves the generated typesafe extension properties (see Codegen). Impl inimpl/DataFrameImpl.kt.DataColumn<out T>(DataColumn.kt) — named, typed column; its companion is the main factory (createValueColumn,createColumnGroup,createFrameColumn,createByInference).DataRow<out T>(DataRow.kt) — a single row (index(),df(), cell getters). Implimpl/DataRowImpl.kt.- Access hierarchy:
ColumnsScope(ColumnsScope.kt, minimalget(name)) ⊃ColumnsContainer(ColumnsContainer.kt) ⊃DataFrame. Generated extension properties hang offColumnsScope<Schema>.
Column kinds (columns/ColumnKind.kt: Value/Group/Frame) are what make schemas hierarchical:
ValueColumn<T>(columns/ValueColumn.kt) — plain values.ColumnGroup<T>(columns/ColumnGroup.kt) — a nested set of columns; behaves as both a column and aDataFrame. This is how nested/JSON-like structures are represented.FrameColumn<T>(columns/FrameColumn.kt) — each cell is itself aDataFrame(produced bygroupBy).
Type aliases in aliases.kt: AnyFrame/AnyRow/AnyCol and the DSL lambda aliases ColumnsSelector<T,C>,
ColumnSelector<T,C>, RowFilter<T>, RowExpression, etc. The columns/ package holds the lower-level
abstractions the DSL resolves against: BaseColumn, ColumnReference, ColumnAccessor, ColumnSet,
ColumnsResolver, SingleColumn, ColumnPath, ColumnWithPath.
Operations API (api/) and the api → impl convention
~125 files in api/, one file per operation, lowercase-named after the operation (filter.kt, select.kt,
groupBy.kt, convert.kt, move.kt, pivot.kt, join.kt, add.kt, …). PascalCase files hold supporting API
types (ColumnsSelectionDsl.kt, DataFrameGet.kt, DataRowApi.kt, ParserOptions.kt, Defaults.kt).
A typical operation file exposes public extension functions on DataFrame<T> (plus overloads on DataColumn,
GroupBy, ColumnsSelectionDsl), grouped with // region … comments, and usually offers overloads for a
ColumnsSelector lambda, vararg String, and (deprecated) KProperty/ColumnReference.
Delegation convention — follow it when adding/changing operations: the api/xxx.kt function is a thin façade;
the real logic lives in impl/api/xxxImpl.kt. impl/ mirrors the public packages (impl/api/, impl/columns/,
impl/aggregation/, impl/schema/, impl/codeGen/, impl/io/) and holds all concrete classes and helpers
(DataFrameImpl, GroupByImpl, TypeUtils, resolution decorators like ColumnWithParent). Keep new internal
logic in impl/, not in the public file.
Operations are annotated for the compiler / IntelliJ plugins (@Refine, @Interpretable("…"), @AccessApiOverload,
@RequiredByIntellijPlugin, from annotations/). Preserve these annotations when editing signatures.
Column(s) Selection DSL
The receiver of the selector lambdas (ColumnsSelector/ColumnSelector, defined in aliases.kt) is
ColumnsSelectionDsl<out T> (api/ColumnsSelectionDsl.kt) — used by
select/move/convert/group/remove/update/etc. — which inherits the smaller base
ColumnSelectionDsl<out T> (api/ColumnSelectionDsl.kt). Whether a selector resolves to a single column or
multiple is decided by the lambda's return type (SingleColumn<C> vs ColumnsResolver<C>), not by the
receiver. ColumnsSelectionDsl is a large composite interface: it inherits one per-feature DSL interface per operation
file (e.g. all.kt → AllColumnsSelectionDsl, cols.kt → ColsColumnsSelectionDsl). It carries a @DslMarker
to prevent accessor leakage across nested selects. Lambdas resolve to a columns/ColumnsResolver<C>
(SingleColumn or ColumnSet) against the frame via impl/DataFrameReceiver.kt (getColumnsImpl, driven by an
UnresolvedColumnsPolicy). When adding an operation usable inside a selector, add its DSL interface in the same
api/ file and wire it into ColumnsSelectionDsl.
Typesafe access: compiler plugin vs codegen
Extension properties on ColumnsScope<Schema> (returning DataColumn<X>) and DataRow<Schema> (returning X),
each with a @JvmName, are what make df.someColumn type-safe — and why T is a schema marker. There are three
ways they get produced, and picking the wrong one is a common mistake:
- Kotlin compiler plugin — the recommended path. It generates accessors on-the-fly at compile time (and in the
IDE) with no
@DataSchemadeclaration needed. It lives in the Kotlin repo (github.com/JetBrains/kotlin/tree/master/plugins/kotlin-dataframe), not here. The operation annotations in this module (@Refine,@Interpretable("…"),@RequiredByIntellijPlugin,@AccessApiOverload, fromannotations/) exist specifically to drive it, and it consumesdataframe-compiler-plugin-corefor its interpreters. - KSP symbol processor + Gradle plugin — the older
@DataSchemabuild-time path (now legacy/deprecated).@DataSchema(annotations/DataSchema.kt) marks an interface as a schema (related:ColumnName,ImportDataSchema,HasSchema, … inannotations/);plugins/symbol-processor+plugins/dataframe-gradle-plugininvoke this module'sCodeGeneratorat build time to emit accessors. Note:plugins/symbol-processoris now disabled because KSP1 is no longer compatible with Kotlin 2.3+ (plugins/README.md). - Runtime
ReplCodeGenerator— Jupyter/REPL only.impl/codeGen/ReplCodeGeneratoremits accessor source as strings to beeval'd in the next notebook cell (used by thejupyter/helpers); it is not a path for ordinary compiled projects. The underlying engineCodeGenerator(codeGen/CodeGenerator.kt,ExtensionsCodeGenerator.kt,SchemaProcessor.kt,Marker*.kt,NameNormalizer.kt,DefaultReadDfMethods.kt; impl inimpl/codeGen/) is shared — it is what the build-time@DataSchemapath above also calls.
The runtime schema model (used for generation and schema comparison) is in schema/ (DataFrameSchema.kt,
ColumnSchema.kt, CompareResult.kt).
Checked-in accessors for :core itself: core/src/generated-dataschema-accessors/{main,test}/… holds
pre-generated <SchemaSimpleName>$Extensions.kt for :core's own internal @DataSchema types (e.g.
ColumnDescription, ValueCount). They are committed only because :core cannot attach the compiler plugin to
itself — the plugin depends on a subset of :core, so doing so would be circular. core/generated-sources/… is
the build-time KoDEx output. Don't hand-edit any of these — they are generated (the build registers the
accessors dir as a source root in build.gradle.kts). In core/generated-sources/ (358 files) the
implementation and public API match src/main/kotlin/… (KoDEx only expands the KDoc and strips
@ExcludeFromSources doc-only fragments), so don't grep/browse it for implementation — it only bloats context;
work from src/main/kotlin/…. The one reason to open a generated file is to read a symbol's fully-expanded
KDoc (KoDEx resolves all {@include …}/@set/@get there).
Other packages (one line each)
aggregation/— DSLs/contracts for reductions (Aggregatable,AggregateDsl,NamedValue), used byaggregate/groupBy/pivot.math/— statistical primitives (mean,median,std,sum,percentile,cumsum, …).dataTypes/— rich cell value types for rendering (IMG,IFRAME).jupyter/— helper utilities (JupyterConfiguration,CellRenderer,KotlinNotebookPluginUtils, …); the actual Kotlin Notebook integration lives in:dataframe-jupyter.io/— read/write helpers and the deprecated in-core csv/tsv/html integrations (csv.kt,tsv.kt,html.kt,guess.kt,Compression.kt); prefer the dedicateddataframe-csv/dataframe-jsonmodules.documentation/— see below.exceptions/— custom exceptions.util/— deprecation-message constants.
KoDEx documentation-only pattern (core specifics)
The general rule (reuse/@include fragments; see KDOC_GUIDELINES.md / KODEX_KDOC_PREPROCESSING.md) is in the
root AGENTS.md. Core-specific: core hosts the shared cross-module KDoc-fragment library in its
documentation/ package (SelectingColumns.kt, SelectingRows.kt, DocumentationUrls.kt, DslGrammar.kt, …) —
internal/private interfaces and typealias … = Nothing declarations with no runtime behavior, @included into
operation KDoc (also inline in operation files, e.g. internal interface Select in api/select.kt). Other KoDEx
modules keep their own local fragments (e.g. csv's documentationCsv/).
Build specifics
- Applies
buildConfig,kodex,keywordsGeneratorconvention plugins pluskorro,binary-compatibility-validator, andkotlinx.benchmark. (For theapiDump/apiCheckflow, see rootAGENTS.md.) - Extra source sets beyond
main/test:samples(src/test/kotlin, compiled with the expressions-converter compiler plugin; runs documentation samples viasamplesTest/korro— see rootAGENTS.md) andtestJava16(src/testJava16/, compiled at JDK 16 for Java-Records tests). - Run just this module:
./gradlew core:test(add-Pkotlin.dataframe.debug=trueto match CI). The debug checks are relevant for every module (jupyter/example integration tests, runtimeDataColumn-vs-KTypechecks in jdbc, …), not justcore.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

