csv
Usage: deepline csv [options] [command]
Inspect local CSV files.
Options:
-h, --help display help for command
Commands:
show [options] [path] Display rows from a CSV file in json, csv, or table
form.
render [options] [action] Start, inspect, or stop a local CSV renderer.
help [command] display help for command
csv show
Usage: deepline csv show <path> [options]
Display rows from a CSV file in json, csv, or table form.
Arguments:
path Input CSV path
Options:
--format <format> Output format: json, csv, or table (default:
"json")
--rows <range> Inclusive row range start:end (show defaults to
0:19)
--columns <names> Comma-separated column names to include
--exclude-columns <names> Comma-separated column names to omit
--summary Summarize selected columns as one row per column;
defaults to all rows
--verbose Do not truncate long values in table output
-h, --help display help for command
Explanation:
Purpose:
Inspect a local CSV before running a play over it: headers, fill rates,
sample values, or a row range.
When:
Before run, to confirm the file has the columns describe requires
and to count rows for pricing. Free and local.
Input:
<path> (required). --summary prints stats instead of rows. --rows
start:end (inclusive, default 0:19), --columns a,b, --format json|csv|table.
Output (JSON):
With --summary: total_rows and rows, one per column: {column, present,
missing, present_percent, unique, top_values, other_count}. Without it:
the rows in the requested range.
Cost:
Free. No network.
Avoid:
Do not use head or wc to inspect a CSV that a play will consume; --summary
gives the row count and column names in one call.
csv render
Usage: deepline csv render [options] [action]
Start, inspect, or stop a local CSV renderer.
Arguments:
action start, status, or stop (default: "start")
Options:
--port <port> Local renderer port. (default: "4174")
--csv <path> CSV path to display.
--open Open the renderer in a browser.
--json Emit JSON for status/stop.
-h, --help display help for command