mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
712 B
712 B
title | layout | version |
---|---|---|
from csv | command | 0.59.0 |
Parse text as .csv and create table.
Signature
> from csv --separator --noheaders
Parameters
--separator {string}
: a character to separate columns, defaults to ','--noheaders
: don't treat the first row as column names
Examples
Convert comma-separated data to a table
> open data.txt | from csv
Convert comma-separated data to a table, ignoring headers
> open data.txt | from csv --noheaders
Convert comma-separated data to a table, ignoring headers
> open data.txt | from csv -n
Convert semicolon-separated data to a table
> open data.txt | from csv --separator ';'