Row‑based CSV utilities for ComfyUI.
-
Search CSV by Row
Reads a value from a specific row and column (identified by header). -
Write CSV by Row
Writes a value to a specific row and column (identified by header), extending rows/columns as needed.- Get Index from JSON list key
From your ComfyUI directory:
git clone https://github.com/strhwste/comfyui_csv_utilsThen restart ComfyUI.
In ComfyUI’s node browser, navigate to utils > csv.
Drag in Search CSV by Row or Write CSV by Row.
Set:
Path: Full path to your CSV file.
Row: 1‑based row index (header is row 0).
Header: Column name.
Value (for write): The string to write.
Given a file data.csv:
csv Copy Edit Keyword;Name;Age row1;Alice;30 row2;Bob;25 Search CSV by Row
Inputs: Path="data.csv", Row=2, Header="Name"
Output: "Bob"
Write CSV by Row
Inputs: Path="data.csv", Row=3, Header="Age", Value="35"
Resulting data.csv:
csv Copy Edit Keyword;Name;Age row1;Alice;30 row2;Bob;25 ; ;35
This project is released under the MIT License. See LICENSE for details.