Explain CSV code
Paste a CSV file and Vibe explains what each column holds and how the quoting works: why some values sit in quotes, what a doubled quote means and why one row can run over two lines.
Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.
Vibe8 lines selected
Press Explain it for the sample, or paste your own code first.
What this CSV sample shows
- header and rows
- The first line names the columns, and every other row gives one value per column, separated by commas. Python's
csv.DictReaderused the header as keys and read 6 orders, each withorder_id,customer,item,qty,priceandnote. - quotes
- A value with a comma in it goes in double quotes, so the comma is part of the value.
"Lee, Sam"came out asLee, Samand"Mug, large"asMug, large. Inside quotes, two double quotes stand for one:"said ""no rush"""came out assaid "no rush". - line breaks in a value
- A quoted value can hold a line break. Order 1004's note runs over two lines of the file, and the reader kept it as one value,
leave atandback doorwith a line break between, so the file has 8 lines but 6 orders. - empty values and text
- A trailing comma means an empty last value: orders 1001, 1005 and 1006 came out with a note of
''. Every value is text, quantities and prices too, so code has to convert them:int(qty) * float(price)over all rows gave 154.5.
Good to know
- Read with the
csvmodule in Python 3.14, opening the file withnewline=""as the module's docs ask. - Not every CSV uses commas. A file separated by
;came back as one column,['id;name'], until it was read withdelimiter=";". - A space after a comma counts as part of the value:
a, "b, c"gave' "b'and' c"', whileskipinitialspace=Trueread it asb, c. - Writing with
csv.writerquotedLee, Samand doubled the quotes insaid "hi"by itself, and ended the row with\r\n.
Watch out: Splitting lines on commas breaks on quoted values. line.split(",") on the Lee, Sam row gave 7 pieces for 6 columns, with "Lee and Sam" apart, and reading line by line would cut order 1004's note in two. Use a CSV reader instead of split.
Explain CSV code beside your editor
Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).
Install on Mac
curl -fsSL https://unvibe.site/install.sh | bashPaste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.
Or download the .dmg · Intel Mac build · SHA-256 checksums
Opening the .dmg the first time
- Open the .dmg and drag Unvibe to Applications.
- Open it once; macOS says it can't verify it. Click Done.

Real screen, macOS 15 - System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.

Real screen, macOS 15
The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open