nushell/docs/commands/dfr_to-csv.md
JT 8c0a2d3c15
Auto-generate markdown command docs (#4451)
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00

559 B

title layout version
dfr to-csv command 0.59.0

Saves dataframe to csv file

Signature

> dfr to-csv (file) --delimiter --no-header

Parameters

  • file: file path to save dataframe
  • --delimiter {string}: file delimiter character
  • --no-header: Indicates if file doesn't have header

Examples

Saves dataframe to csv file

> [[a b]; [1 2] [3 4]] | dfr to-df | dfr to-csv test.csv

Saves dataframe to csv file using other delimiter

> [[a b]; [1 2] [3 4]] | dfr to-df | dfr to-csv test.csv -d '|'