DataFrame.WriteCsv<R, C> Method

Note: This API is now obsolete.
Writes a data frame to a CSV file.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[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.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataFrame<R, C>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also