Data Frame.Write Csv<R, C> Method
Writes a data frame to a CSV file.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
[ObsoleteAttribute("Use the classes in the Extreme.Data package instead.")]
public static void WriteCsv<R, C>(
this DataFrame<R, C> frame,
string path,
bool includeColumnKeys = true,
bool includeRowKeys = true,
string[] rowKeyColumnNames = null,
string separator = ",",
CultureInfo culture = null
)
Parameters
- frame DataFrame<R, C>
- A data frame.
- path String
- The path to the file.
- includeColumnKeys Boolean (Optional)
- (Optional.) Specifies whether the column keys should be written to the file as column headers. The default is true.
- includeRowKeys Boolean (Optional)
- (Optional.) Specifies whether the row keys should be written to the file. The default is true.
- rowKeyColumnNames String[] (Optional)
- (Optional.) Specifies the column names for each level of the row keys.
- separator String (Optional)
- The string used to separate fields.
- culture CultureInfo (Optional)
- The culture to use to format numbers and dates.
Type Parameters
- R
- The element type of the row index of the data frame.
- C
- The element type of the column index of the data frame.