Click or drag to resize

DataFrameLoad(String, Boolean, Boolean, String, Boolean) Method

Imports a data frame from the given text file.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DataFrame Load(
	string filename,
	bool hasHeader,
	bool hasRowKeys,
	string delimiter,
	bool parse
)

Parameters

filename  String
The input file name.
hasHeader  Boolean
A boolean value indicating whether or not the string contains column headers.
hasRowKeys  Boolean
A boolean value indicating whether or not the string contains row keys.
delimiter  String
The column delimiter.
parse  Boolean
A boolean value indicating whether to parse the column types, or treat everything as string data.

Return Value

DataFrame
A new data frame.
Exceptions
ExceptionCondition
NMathExceptionThrown if an I/O error is encountered, or if the file is in the wrong format.
See Also