agentleFS
KotlinKotlin/dataframe/dataframe-csv/AGENTS.md

dataframe / dataframe-csv

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. dataframe-csv (artifact dataframe-csv, "CSV support for Kotlin DataFrame"). Reads and writes CSV / TSV / arbitrary delimited text to and from DataFrame, with type inference for cell values. This is the modern, enhanced delimited-text integration; the older CSV/TSV code left in core is deprecated in favor of this module. Depends on core and, as api, on dataframe-json — JSON is used to read/write…

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 3 mentionsJun 2026: 8 mentionsJul 2026: 7 mentionsAug 2026: 6 mentionsSep 2026: 6 mentionsOct 2026: 12 mentionsNov 2026: 1 mention
Dec 2025Jun 2026Nov 2026
Mentions a month of the Kotlin/dataframe repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about Kotlin/dataframe

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

45 more on GitHub

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are 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.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All the public functions delegate to impl/io/readDelim.kt and impl/io/writeDelim.kt.

    line 29
  2. Very specific:

    Run just this module: ./gradlew dataframe-csv:test (add -Pkotlin.dataframe.debug=true to match CI checks).

    line 48

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — dataframe-csv

Guidance for this module. See the root AGENTS.md for repo-wide build/style/KoDEx rules; only module-specific details are here.

What this module is

dataframe-csv (artifact dataframe-csv, "CSV support for Kotlin DataFrame"). Reads and writes CSV / TSV / arbitrary delimited text to and from DataFrame, with type inference for cell values. This is the modern, enhanced delimited-text integration; the older CSV/TSV code left in core is deprecated in favor of this module.

Depends on core and, as api, on dataframe-json — JSON is used to read/write nested DataFrame/DataRow values inside CSV cells. That JSON dependency can be safely excluded downstream if you only handle flat frames.

Third-party libraries: Deephaven CSV (libs.deephavenCsv) for fast reading, Apache Commons CSV (libs.commonsCsv) for writing. fastDoubleParser handles numeric parsing.

Public API surface (src/main/kotlin/.../io/)

One file per operation family, each a set of DataFrame.Companion / AnyFrame extension functions:

  • Reading: readCsv.kt, readTsv.kt, readDelim.kt (from File/Path/URL/InputStream), and the string variants readCsvStr.kt, readTsvStr.kt, readDelimStr.kt.
  • Writing: writeCsv.kt, writeTsv.kt, writeDelim.kt, plus in-memory toCsvStr.kt, toTsvStr.kt, toDelimStr.kt.
  • QuoteMode.kt and the documentationCsv/DelimParams.kt object hold the shared parameter set and defaults used across all of the above (delimiter, header, quoting, compression, etc.). CSV = comma, TSV = tab; both are thin wrappers over the generic delim functions.

All the public functions delegate to impl/io/readDelim.kt and impl/io/writeDelim.kt; ListSink.kt and DataFrameCustomDoubleParser.kt are internal helpers. Reading transparently handles gzip and zip input (see the .gz/.zip fixtures in test resources).

documentationCsv/CommonReadDelimDocs.kt / CommonWriteDelimDocs.kt are KoDEx documentation-only sources: the shared KDoc for every read/write function is written once there and @included into the individual operation files. Edit the docs there, not in each function.

Legacy/deprecated: io/csv.kt and io/tsv.kt define CsvDeephaven / TsvDeephaven, implementations of the old SupportedDataFrameFormat SPI registered in src/main/resources/META-INF/services/org.jetbrains.kotlinx.dataframe.io.SupportedFormat. That SPI is deprecated (ERROR level, removed in 1.0) — don't build on it; the read*/write* extension functions above are the real API.

Tests & benchmarks

  • src/test/kotlin/.../io/DelimCsvTsvTests.kt is the main test; fixtures (various encodings, BOMs, gzip, zip, locales) live in src/test/resources/.
  • kotlinx.benchmark is configured (benchmark { targets { register("test") } }); BenchmarkTest.kt holds read benchmarks.
  • Run just this module: ./gradlew dataframe-csv:test (add -Pkotlin.dataframe.debug=true to match CI checks).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.