CSV filter empty

csv-filter-empty · version 1.0.0 · CSV & tables · free, no key needed

Keep or drop CSV rows whose named column is the empty string.

Use when you need to: csv filter empty · drop empty csv cells · keep empty csv cells.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "csv": "k,v\na,1\nb,\n",
  "column": "v"
}

Response:

{
  "result": {
    "csv": "k,v\na,1\n",
    "rows_in": 2,
    "rows_out": 1
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "csv-filter-empty",
  "version": "1.0.0",
  "input": {
    "csv": "k,v\na,1\nb,\n",
    "column": "v"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/csv-filter-empty/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"csv":"k,v\na,1\nb,\n","column":"v"}'

The machine-readable contract is at /v1/tools/csv-filter-empty/versions/1.0.0.

CLI

node cli.mjs run csv-filter-empty 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.