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 references/csv.md.
- Parse or emit configuration in TOML or YAML: read references/toml-yaml.md.
- Format an ordinary table for a terminal, Markdown, or HTML report: read references/prettytables.md.
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 temporaryCSV.Fileand 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.tomlwithTOML.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.


