Skip to content
项目

关于

用于在 Julia 编程语言中处理 CSV 和其他分隔符文件的工具库

编程语言与运行时

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

CSV.jl

CI codecov version pkgeval DOI

CSV.jl reads and writes comma-separated and other delimited text data in Julia. It implements the Tables.jl interface.

Installation

Install the registered release from the Julia REPL:

] add CSV

CSV.jl 1.0 requires Julia 1.10 or later. See the 0.10 to 1.0 migration guide before you update an existing application.

Quick start

using CSV

file = CSV.File("input.csv")
CSV.write("output.csv", file)

Use CSV.read("input.csv", DataFrame) after you load DataFrames.jl. Use CSV.Rows to process one row at a time, CSV.Chunks to process batches, or CSV.lazy to index a source before you choose which cells to parse. With DataDecimals.jl loaded, types=Dict(:amount => DataDecimals.Decimal64{2}) reads a column as exact decimals; CSV.jl does not infer decimal types.

Documentation

Support

Use GitHub Issues for bug reports, feature requests, and questions.

Generative-AI contribution disclosure

The CSV.jl 1.0 internal rewrite contains substantial generative-AI contributions. Claude drove the initial rewrite. Codex performed review, fixes, documentation, and validation. Human maintainers must hand-review these changes and own the final approval.

Alternatives

  • DelimitedFiles is a Julia standard library for simple, homogeneous delimited matrices.
  • CSVFiles.jl provides FileIO.jl load and save integration.
  • DLMReader.jl reads delimited data and integrates with InMemoryDatasets.jl.

探索相关项目

加载中…