Click or drag to resize
F# Frame extensionsSaveCsv Method
Overload List
  NameDescription
Public methodStatic memberSaveCsvTRowKey, TColumnKey(FrameTRowKey, TColumnKey, String, IEnumerableString)
Save data frame to a CSV file or to a `TextWriter`. When calling the operation, you can specify whether you want to save the row keys or not (and headers for the keys) and you can also specify the separator (use `\t` for writing TSV files). When specifying file name ending with `.tsv`, the `\t` separator is used automatically. ## Parameters - `path` - Specifies the output file name where the CSV data should be written - `keyNames` - Specifies the CSV headers for row key (or keys, for multi-level index) - `separator` - Specify the column separator in the file (the default is `\t` for TSV files and `,` for CSV files) - `culture` - Specify the `CultureInfo` object used for formatting numerical data [category:Input and output]
Public methodStatic memberSaveCsvTRowKey, TColumnKey(FrameTRowKey, TColumnKey, Stream, FSharpOptionBoolean, FSharpOptionIEnumerableString, FSharpOptionChar, FSharpOptionCultureInfo) Obsolete.
[omit]
Public methodStatic memberSaveCsvTRowKey, TColumnKey(FrameTRowKey, TColumnKey, TextWriter, FSharpOptionBoolean, FSharpOptionIEnumerableString, FSharpOptionChar, FSharpOptionCultureInfo)
Save data frame to a CSV file or a `TextWriter`. When calling the operation, you can specify whether you want to save the row keys or not (and headers for the keys) and you can also specify the separator (use `\t` for writing TSV files). When specifying file name ending with `.tsv`, the `\t` separator is used automatically. ## Parameters - `writer` - Specifies the TextWriter to which the CSV data should be written - `includeRowKeys` - When set to `true`, the row key is also written to the output file - `keyNames` - Can be used to specify the CSV headers for row key (or keys, for multi-level index) - `separator` - Specify the column separator in the file (the default is `\t` for TSV files and `,` for CSV files) - `culture` - Specify the `CultureInfo` object used for formatting numerical data [category:Input and output]
Public methodStatic memberSaveCsvTRowKey, TColumnKey(FrameTRowKey, TColumnKey, String, FSharpOptionBoolean, FSharpOptionIEnumerableString, FSharpOptionChar, FSharpOptionCultureInfo)
Save data frame to a CSV file or a `TextWriter`. When calling the operation, you can specify whether you want to save the row keys or not (and headers for the keys) and you can also specify the separator (use `\t` for writing TSV files). When specifying file name ending with `.tsv`, the `\t` separator is used automatically. ## Parameters - `path` - Specifies the output file name where the CSV data should be written - `includeRowKeys` - When set to `true`, the row key is also written to the output file - `keyNames` - Can be used to specify the CSV headers for row key (or keys, for multi-level index) - `separator` - Specify the column separator in the file (the default is `\t` for TSV files and `,` for CSV files) - `culture` - Specify the `CultureInfo` object used for formatting numerical data [category:Input and output]
Top
See Also