Handle Julia Data
Choose the narrowest workflow that fits. Inspect the active project and existing package
choices before adding dependencies.
Route the Task
- Consume an arbitrary table or transform a
DataFrame: read
references/tables-dataframes.md.
- Read or write CSV, TSV, padded-delimiter, streaming-row, or partitioned data: read
- Parse or emit configuration in TOML or YAML: read
- Format an ordinary table for a terminal, Markdown, or HTML report: read
Open only the references required by the task.
Apply These Defaults
- Treat Tables.jl as the interchange boundary; materialize a
DataFrameonly when its
transformations or indexing are useful.
- For a
DataFrame, preferCSV.read(source, DataFrame)over constructing a temporary
CSV.File and copying it into a frame.
- Validate names, types, missing-value policy, and key invariants immediately after input.
Supply types and date formats when inference would be risky.
- Prefer TOML for Julia-owned configuration. Use YAML only when an external format or
existing file requires it.
- Use Pkg operations for dependency and compatibility changes. Do not rewrite a
Manifest.toml with TOML.print.
- Use PrettyTables for ordinary reports. Use Term tables only when the table must compose
with a Term renderable or live terminal application.
- Test round trips semantically, not by requiring emitted text to preserve whitespace,
comments, quoting, or key order.
Keep format-specific option inventories in the references rather than repeating them here.